System.Drawing.GraphicsUtil.IncludePoint C# (CSharp) Метод

IncludePoint() публичный статический Метод

Checks if point is contained within RectangleF structure and extends rectangle bounds if neccessary to include the point.
public static IncludePoint ( RectangleF &rect, PointF pointToInclude ) : void
rect RectangleF /// Reference to RectangleF to check. ///
pointToInclude PointF /// PontF object to include. ///
Результат void
        public static void IncludePoint(ref RectangleF rect, PointF pointToInclude)
        {
            IncludePointX(ref rect, pointToInclude.X);
            IncludePointY(ref rect, pointToInclude.Y);
        }