C# 클래스 Gu.Wpf.Geometry.Line

파일 보기 프로젝트 열기: JohanLarsson/Gu.Wpf.Geometry 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EndPoint Point
StartPoint Point

Private Properties

프로퍼티 타입 설명
ClosestIntersection Point?
DistanceTo double
DistanceToPointOnLine double
Flip Line
IntersectWith Point?
IntersectionPoint Point?
IsPointOnLine bool
Offset Line
Parse Line
Perp double
PerpendicularLineTo Line?
Project Point
RotateAroundStartPoint Line
TrimOrExtendEndWith Line?
TrimOrExtendStartWith Line?
TrimTo Point?

공개 메소드들

메소드 설명
Line ( Point startPoint, Point endPoint ) : System
ToString ( ) : string
ToString ( string format ) : string

비공개 메소드들

메소드 설명
ClosestIntersection ( Rect rectangle ) : Point?
DistanceTo ( Point p ) : double
DistanceToPointOnLine ( Point p ) : double
Flip ( ) : Line
IntersectWith ( Line other, bool mustBeBetweenStartAndEnd ) : Point?
IntersectionPoint ( Line l1, Line l2, bool mustBeBetweenStartAndEnd ) : Point?
IsPointOnLine ( Point p ) : bool
Offset ( double distance ) : Line
Parse ( string text ) : Line
Perp ( System.Windows.Vector u, System.Windows.Vector v ) : double
PerpendicularLineTo ( Point p ) : Line?
Project ( Point p ) : Point
RotateAroundStartPoint ( double angleInDegrees ) : Line
TrimOrExtendEndWith ( Line other ) : Line?
TrimOrExtendStartWith ( Line other ) : Line?
TrimTo ( Point p ) : Point?

메소드 상세

Line() 공개 메소드

public Line ( Point startPoint, Point endPoint ) : System
startPoint Point
endPoint Point
리턴 System

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

ToString() 공개 메소드

public ToString ( string format ) : string
format string
리턴 string

프로퍼티 상세

EndPoint 공개적으로 프로퍼티

public Point EndPoint
리턴 Point

StartPoint 공개적으로 프로퍼티

public Point StartPoint
리턴 Point