C# 클래스 Praeclarum.Graphics.Stroke

파일 보기 프로젝트 열기: praeclarum/Praeclarum 1 사용 예제들

공개 메소드들

메소드 설명
AddPoint ( PointF rawPoint ) : void
AddPoints ( IEnumerable rawPoints ) : void
Draw ( IGraphics g, float thickness = DefaultThickness ) : void
GetDirectionSegments ( int startIndex, int resolution = 20 ) : Praeclarum.Graphics.StrokeSegment[]
GetIntersectionWith ( Stroke other ) : IntersectionInfo
GetResolutionSimplifiedSegments ( int startIndex, int resolution ) : Praeclarum.Graphics.StrokeSegment[]
GetSegment ( int startIndex ) : StrokeSegment
GetSegment ( int startIndex, int lastIndex ) : StrokeSegment
GetSimplifiedSegments ( int startIndex, float error, int maxSegments ) : Praeclarum.Graphics.StrokeSegment[]
GetSimplifiedStroke ( int startIndex, float error, int maxSegments ) : Stroke
IntersectsWith ( LineSegmentF lineSegment ) : bool
IntersectsWith ( Stroke other ) : bool
RecognizeHorizontalLine ( int startIndex, int &endIndex ) : bool
RecognizeLoop ( int startIndex, int &lastIndex ) : bool
RecognizeVerticalLine ( int startIndex, int &lastIndex ) : bool
Stroke ( ) : System
Stroke ( System.DateTime createdTime ) : System

보호된 메소드들

메소드 설명
Draw ( IGraphics g, int startIndex, int length, float thickness ) : void

비공개 메소드들

메소드 설명
RemoveInitialFlourish ( ) : int

메소드 상세

AddPoint() 공개 메소드

public AddPoint ( PointF rawPoint ) : void
rawPoint PointF
리턴 void

AddPoints() 공개 메소드

public AddPoints ( IEnumerable rawPoints ) : void
rawPoints IEnumerable
리턴 void

Draw() 공개 메소드

public Draw ( IGraphics g, float thickness = DefaultThickness ) : void
g IGraphics
thickness float
리턴 void

Draw() 보호된 메소드

protected Draw ( IGraphics g, int startIndex, int length, float thickness ) : void
g IGraphics
startIndex int
length int
thickness float
리턴 void

GetDirectionSegments() 공개 메소드

public GetDirectionSegments ( int startIndex, int resolution = 20 ) : Praeclarum.Graphics.StrokeSegment[]
startIndex int
resolution int
리턴 Praeclarum.Graphics.StrokeSegment[]

GetIntersectionWith() 공개 메소드

public GetIntersectionWith ( Stroke other ) : IntersectionInfo
other Stroke
리턴 IntersectionInfo

GetResolutionSimplifiedSegments() 공개 메소드

public GetResolutionSimplifiedSegments ( int startIndex, int resolution ) : Praeclarum.Graphics.StrokeSegment[]
startIndex int
resolution int
리턴 Praeclarum.Graphics.StrokeSegment[]

GetSegment() 공개 메소드

public GetSegment ( int startIndex ) : StrokeSegment
startIndex int
리턴 StrokeSegment

GetSegment() 공개 메소드

public GetSegment ( int startIndex, int lastIndex ) : StrokeSegment
startIndex int
lastIndex int
리턴 StrokeSegment

GetSimplifiedSegments() 공개 메소드

public GetSimplifiedSegments ( int startIndex, float error, int maxSegments ) : Praeclarum.Graphics.StrokeSegment[]
startIndex int
error float
maxSegments int
리턴 Praeclarum.Graphics.StrokeSegment[]

GetSimplifiedStroke() 공개 메소드

public GetSimplifiedStroke ( int startIndex, float error, int maxSegments ) : Stroke
startIndex int
error float
maxSegments int
리턴 Stroke

IntersectsWith() 공개 메소드

public IntersectsWith ( LineSegmentF lineSegment ) : bool
lineSegment LineSegmentF
리턴 bool

IntersectsWith() 공개 메소드

public IntersectsWith ( Stroke other ) : bool
other Stroke
리턴 bool

RecognizeHorizontalLine() 공개 메소드

public RecognizeHorizontalLine ( int startIndex, int &endIndex ) : bool
startIndex int
endIndex int
리턴 bool

RecognizeLoop() 공개 메소드

public RecognizeLoop ( int startIndex, int &lastIndex ) : bool
startIndex int
lastIndex int
리턴 bool

RecognizeVerticalLine() 공개 메소드

public RecognizeVerticalLine ( int startIndex, int &lastIndex ) : bool
startIndex int
lastIndex int
리턴 bool

Stroke() 공개 메소드

public Stroke ( ) : System
리턴 System

Stroke() 공개 메소드

public Stroke ( System.DateTime createdTime ) : System
createdTime System.DateTime
리턴 System