Summary
Retrieves the offset from the leading edge of the
GlyphRun
to the leading or trailing edge of a caret stop containing the specified character hit.
- Namespace
- Avalonia
.Media - Containing Type
- GlyphRun
Syntax
public double GetDistanceFromCharacterHit(CharacterHit characterHit)
Parameters
Name | Type | Description |
---|---|---|
characterHit | CharacterHit | The CharacterHit to use for computing the offset. |