C# 클래스 ICSharpCode.AvalonEdit.Rendering.BackgroundGeometryBuilder

Helper for creating a PathGeometry.
파일 보기 프로젝트 열기: kjk/kjkpub 1 사용 예제들

공개 메소드들

메소드 설명
AddRectangle ( double left, double top, double right, double bottom ) : void

Adds a rectangle to the geometry.

AddSegment ( TextView textView, ISegment segment ) : void

Adds the specified segment to the geometry.

BackgroundGeometryBuilder ( ) : System

Creates a new BackgroundGeometryBuilder instance.

CloseFigure ( ) : void

Closes the current figure.

CreateGeometry ( ) : Geometry

Creates the geometry. Returns null when the geometry is empty!

GetRectsForSegment ( TextView textView, ISegment segment ) : IEnumerable

Calculates the list of rectangle where the segment in shown. This returns one rectangle for each line inside the segment.

비공개 메소드들

메소드 설명
GetRectsForSegmentImpl ( TextView textView, ISegment segment ) : IEnumerable
MakeArc ( double x, double y, SweepDirection dir ) : ArcSegment
MakeLineSegment ( double x, double y ) : LineSegment

메소드 상세

AddRectangle() 공개 메소드

Adds a rectangle to the geometry.
public AddRectangle ( double left, double top, double right, double bottom ) : void
left double
top double
right double
bottom double
리턴 void

AddSegment() 공개 메소드

Adds the specified segment to the geometry.
public AddSegment ( TextView textView, ISegment segment ) : void
textView TextView
segment ISegment
리턴 void

BackgroundGeometryBuilder() 공개 메소드

Creates a new BackgroundGeometryBuilder instance.
public BackgroundGeometryBuilder ( ) : System
리턴 System

CloseFigure() 공개 메소드

Closes the current figure.
public CloseFigure ( ) : void
리턴 void

CreateGeometry() 공개 메소드

Creates the geometry. Returns null when the geometry is empty!
public CreateGeometry ( ) : Geometry
리턴 Geometry

GetRectsForSegment() 공개 정적인 메소드

Calculates the list of rectangle where the segment in shown. This returns one rectangle for each line inside the segment.
public static GetRectsForSegment ( TextView textView, ISegment segment ) : IEnumerable
textView TextView
segment ISegment
리턴 IEnumerable