C# 클래스 System.Drawing.Quadrilateral

Quadrilateral object.
파일 보기 프로젝트 열기: Longkong/Pojjaman 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Empty Quadrilateral

공개 메소드들

메소드 설명
Contains ( PointF point ) : bool

Checks if the given PointF is contained within the quadrilateral.

Contains ( PointF point, PointF cornerPoints ) : bool

Checks if given PointF is contained within quadrilateral defined by cornerPoints provided.

Draw ( Graphics graphics, Pen pen, Brush brush ) : void

Draws the Quadrilateral with Graphics provided.

Quadrilateral ( PointF point1, PointF point2, PointF point3, PointF point4, bool toClose ) : System

Initilizes Quadrilateral object with given corner points.

보호된 메소드들

메소드 설명
Quadrilateral ( ) : System

Creates empty Quadrilateral object

비공개 메소드들

메소드 설명
DoesIntersects ( PointF point, PointF point1, PointF point2 ) : bool

Checks if the line coming out of the point downwards intersects with a line through point1 and point2.

메소드 상세

Contains() 공개 메소드

Checks if the given PointF is contained within the quadrilateral.
public Contains ( PointF point ) : bool
point PointF /// PointF structure to check for. ///
리턴 bool

Contains() 공개 정적인 메소드

Checks if given PointF is contained within quadrilateral defined by cornerPoints provided.
public static Contains ( PointF point, PointF cornerPoints ) : bool
point PointF /// PointF to check. ///
cornerPoints PointF /// Array of PointF structures defining corners of the /// quadrilateral. ///
리턴 bool

Draw() 공개 메소드

Draws the Quadrilateral with Graphics provided.
public Draw ( Graphics graphics, Pen pen, Brush brush ) : void
graphics Graphics /// Graphics used to draw. ///
pen Pen /// Pen used to draw outline. ///
brush Brush /// Brush used to fill the inside. ///
리턴 void

Quadrilateral() 보호된 메소드

Creates empty Quadrilateral object
protected Quadrilateral ( ) : System
리턴 System

Quadrilateral() 공개 메소드

Initilizes Quadrilateral object with given corner points.
public Quadrilateral ( PointF point1, PointF point2, PointF point3, PointF point4, bool toClose ) : System
point1 PointF /// First PointF. ///
point2 PointF /// Second PointF. ///
point3 PointF /// Third PointF. ///
point4 PointF /// Fourth PointF. ///
toClose bool /// Indicator should the quadrilateral be closed by the line. ///
리턴 System

프로퍼티 상세

Empty 공개적으로 정적으로 프로퍼티

public static Quadrilateral,System.Drawing Empty
리턴 Quadrilateral