FormattedTextBuildHighlightGeometry(Point, Int32, Int32) Method
Builds a highlight geometry object for a given character range.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Geometry? BuildHighlightGeometry(
Point origin,
int startIndex,
int count
)
Public Function BuildHighlightGeometry (
origin As Point,
startIndex As Integer,
count As Integer
) As Geometry
member BuildHighlightGeometry :
origin : Point *
startIndex : int *
count : int -> Geometry
- origin Point
- The origin of the highlight region.
- startIndex Int32
- The start index of initial character the bounds should be obtained for.
- count Int32
- The number of characters the bounds should be obtained for.
GeometryGeometry that surrounds the specified character range.