AvalonEdit
BackgroundGeometryBuilder Class
NamespacesICSharpCode.AvalonEdit.RenderingBackgroundGeometryBuilder
Helper for creating a PathGeometry.
Declaration Syntax
C#Visual BasicVisual C++
public sealed class BackgroundGeometryBuilder
Public NotInheritable Class BackgroundGeometryBuilder
public ref class BackgroundGeometryBuilder sealed
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
BackgroundGeometryBuilder()()()()
Creates a new BackgroundGeometryBuilder instance.

AddRectangle(TextView, Rect)
Adds a rectangle to the geometry.

AddRectangle(Double, Double, Double, Double)
Adds a rectangle to the geometry.

AddSegment(TextView, ISegment)
Adds the specified segment to the geometry.

AlignToMiddleOfPixels
Gets/Sets whether to align the geometry to the middle of pixels.

AlignToWholePixels
Gets/Sets whether to align the geometry to whole pixels.

CloseFigure()()()()
Closes the current figure.

CornerRadius
Gets/sets the radius of the rounded corners.

CreateGeometry()()()()
Creates the geometry. Returns null when the geometry is empty!

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
ExtendToFullWidthAtLineEnd
Gets/Sets whether to extend the rectangles to full width at line end.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetRectsForSegment(TextView, ISegment, Boolean)
Calculates the list of rectangle where the segment in shown. This method usually returns one rectangle for each line inside the segment (but potentially more, e.g. when bidirectional text is involved).

GetRectsFromVisualSegment(TextView, VisualLine, Int32, Int32)
Calculates the rectangles for the visual column segment. This returns one rectangle for each line inside the segment.

GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
BackgroundGeometryBuilder

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238