TextLineGetTextBounds Method
Get an array of bounding rectangles of a range of characters within a text line.
Namespace: Avalonia.Media.TextFormattingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
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>
- firstTextSourceCharacterIndex Int32
- index of first character of specified range
- textLength Int32
- number of characters of the specified range
IReadOnlyListTextBoundsan array of bounding rectangles.