TextLineGetCharacterHitFromDistance Method
Gets the character hit corresponding to the specified distance from the beginning of the line.
Namespace: Avalonia.Media.TextFormattingAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract CharacterHit GetCharacterHitFromDistance(
double distance
)
Public MustOverride Function GetCharacterHitFromDistance (
distance As Double
) As CharacterHit
abstract GetCharacterHitFromDistance :
distance : float -> CharacterHit
- distance Double
- A Double value that represents the distance from the beginning of the line.
CharacterHitThe
CharacterHit object at the specified distance from the beginning of the line.