GetCharacterHitFromDistance 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)
- C#
- VB
- F#
public abstract CharacterHit GetCharacterHitFromDistance(
double distance
)
Public MustOverride Function GetCharacterHitFromDistance (
distance As Double
) As CharacterHit
abstract GetCharacterHitFromDistance :
distance : float -> CharacterHit
Parameters
Return Value
CharacterHit
The CharacterHit object at the specified distance from the beginning of the line.