BuildHighlightGeometry(Point, Int32, Int32) Method
Builds a highlight geometry object for a given character range.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
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
Parameters
- Point
- The origin of the highlight region.
- Int32
- The start index of initial character the bounds should be obtained for.
- Int32
- The number of characters the bounds should be obtained for.
Return Value
Geometry
Geometry that surrounds the specified character range.
See Also
Reference
FormattedText Class
BuildHighlightGeometry Overload
Avalonia.Media Namespace