TextLineGetCharacterHitFromDistance Method

Gets the character hit corresponding to the specified distance from the beginning of the line.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract CharacterHit GetCharacterHitFromDistance(
	double distance
)

Parameters

distance  Double
A Double value that represents the distance from the beginning of the line.

Return Value

CharacterHit
The CharacterHit object at the specified distance from the beginning of the line.

See Also