HitTestTextPosition Method
Get the pixel location relative to the top-left of the layout box given the text position.
Definition
Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public Rect HitTestTextPosition(
int textPosition
)
Public Function HitTestTextPosition (
textPosition As Integer
) As Rect
member HitTestTextPosition :
textPosition : int -> Rect
Parameters
- Int32
- The text position.