TextLineGetDistanceFromCharacterHit Method

Gets the distance from the beginning of the line to the specified character hit. CharacterHit.

Definition

Namespace: Avalonia.Media.TextFormatting
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public abstract double GetDistanceFromCharacterHit(
	CharacterHit characterHit
)

Parameters

characterHit  CharacterHit
The CharacterHit object whose distance you want to query.

Return Value

Double
A Double that represents the distance from the beginning of the line.

See Also