GlyphRunFindNearestCharacterHit Method

Finds the nearest CharacterHit at given index.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public CharacterHit FindNearestCharacterHit(
	int index,
	out double width
)

Parameters

index  Int32
The index.
width  Double
The width of found cluster.

Return Value

CharacterHit
The nearest CharacterHit.

See Also