GlyphRunGetPreviousCaretCharacterHit Method

Retrieves the previous valid caret character hit in the logical direction in the GlyphRun.

Definition

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public CharacterHit GetPreviousCaretCharacterHit(
	CharacterHit characterHit
)

Parameters

characterHit  CharacterHit
The CharacterHit to use for computing the previous hit value.

Return Value

CharacterHit
A cref="CharacterHit"/> that represents the previous valid caret character hit in the logical direction. If the return value is equal to characterHit, no further navigation is possible in the GlyphRun.

See Also