Helper for creating a PathGeometry.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public sealed class BackgroundGeometryBuilder
Public NotInheritable Class BackgroundGeometryBuilder
public ref class BackgroundGeometryBuilder sealed
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
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) | (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()()()() | (Inherited from Object.) |
Inheritance Hierarchy
Object | |
BackgroundGeometryBuilder |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238