GetTextBounds Method
Get an array of bounding rectangles of a range of characters within a text line.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public abstract IReadOnlyList<TextBounds> GetTextBounds(
int firstTextSourceCharacterIndex,
int textLength
)
Public MustOverride Function GetTextBounds (
firstTextSourceCharacterIndex As Integer,
textLength As Integer
) As IReadOnlyList(Of TextBounds)
abstract GetTextBounds :
firstTextSourceCharacterIndex : int *
textLength : int -> IReadOnlyList<TextBounds>
Parameters
Return Value
IReadOnlyList(TextBounds)
an array of bounding rectangles.