TextLineGetTextBounds 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) Version: 11.3.999
public abstract IReadOnlyList<TextBounds> GetTextBounds(
	int firstTextSourceCharacterIndex,
	int textLength
)

Parameters

firstTextSourceCharacterIndex  Int32
index of first character of specified range
textLength  Int32
number of characters of the specified range

Return Value

IReadOnlyListTextBounds
an array of bounding rectangles.

See Also