GlyphRunGetCharacterHitFromDistance Method
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public CharacterHit GetCharacterHitFromDistance(
double distance,
out bool isInside
)
Public Function GetCharacterHitFromDistance (
distance As Double,
<OutAttribute> ByRef isInside As Boolean
) As CharacterHit
member GetCharacterHitFromDistance :
distance : float *
isInside : bool byref -> CharacterHit
- distance Double
- Offset to use for computing the caret character hit.
- isInside Boolean
- Determines whether the character hit is inside the GlyphRun.
CharacterHit
A
CharacterHit value that represents the character hit that is closest to the distance value.
The out parameter
isInside returns
true if the character hit is inside the
GlyphRun; otherwise,
false.