Summary
Gets the character hit corresponding to the specified distance from the beginning of the line.
- Namespace
- Avalonia
.Media .TextFormatting - Containing Type
- TextLine
Syntax
public abstract CharacterHit GetCharacterHitFromDistance(double distance)
Parameters
Name | Type | Description |
---|---|---|
distance | double | A double value that represents the distance from the beginning of the line. |
Return Value
Type | Description |
---|---|
CharacterHit | The CharacterHit object at the specified distance from the beginning of the line. |