IFormattedTextImpl.

HitTestTextPosition(int) Method

Summary

Gets the bounds rectangle that the specified character occupies.
Namespace
Avalonia.Platform
Containing Type
IFormattedTextImpl

Syntax

Rect HitTestTextPosition(int index)

Parameters

Name Type Description
index int The index of the character.

Return Value

Type Description
Rect The character bounds.