Skip to main content

FindNearestCharacterHit Method

Finds the nearest CharacterHit at given index.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public CharacterHit FindNearestCharacterHit(
int index,
out double width
)

Parameters

  Int32
The index.
  Double
The width of found cluster.

Return Value

CharacterHit
The nearest CharacterHit.

See Also

Reference

GlyphRun Class
Avalonia.Media Namespace