IFormattedTextImpl.

HitTestTextRange(int, int) Method

Summary

Gets the bounds rectangles that the specified text range occupies.
Namespace
Avalonia.Platform
Containing Type
IFormattedTextImpl

Syntax

IEnumerable<Rect> HitTestTextRange(int index, int length)

Parameters

Name Type Description
index int The index of the first character.
length int The number of characters in the text range.

Return Value

Type Description
IEnumerable<Rect> The character bounds.