TextLayoutHitTestTextPosition 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) Version: 11.3.999
public Rect HitTestTextPosition(
	int textPosition
)

Parameters

textPosition  Int32
The text position.

Return Value

Rect

See Also