C# Класс System.Drawing.GraphicsUtil

Structure with graphics utility methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
IncludePoint ( RectangleF &rect, PointF pointToInclude ) : void

Checks if point is contained within RectangleF structure and extends rectangle bounds if neccessary to include the point.

IncludePointX ( RectangleF &rect, float xToInclude ) : void

Checks if x-coordinate is contained within the RectangleF structure and extends rectangle bounds if neccessary to include the point.

IncludePointY ( RectangleF &rect, float yToInclude ) : void

Checks if y-coordinate is contained within the RectangleF structure and extends rectangle bounds if neccessary to include the point.

Описание методов

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

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

Checks if x-coordinate is contained within the RectangleF structure and extends rectangle bounds if neccessary to include the point.
public static IncludePointX ( RectangleF &rect, float xToInclude ) : void
rect RectangleF /// RectangleF to check. ///
xToInclude float /// x-coordinate to include. ///
Результат void

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

Checks if y-coordinate is contained within the RectangleF structure and extends rectangle bounds if neccessary to include the point.
public static IncludePointY ( RectangleF &rect, float yToInclude ) : void
rect RectangleF /// RectangleF to check. ///
yToInclude float /// y-coordinate to include. ///
Результат void