C# 클래스 System.Drawing.GraphicsUtil

Structure with graphics utility methods.
파일 보기 프로젝트 열기: Longkong/Pojjaman

공개 메소드들

메소드 설명
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