GetNextCaretCharacterHit Method
Retrieves the next valid caret character hit in the logical direction in the GlyphRun.
Definition
Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public CharacterHit GetNextCaretCharacterHit(
CharacterHit characterHit
)
Public Function GetNextCaretCharacterHit (
characterHit As CharacterHit
) As CharacterHit
member GetNextCaretCharacterHit :
characterHit : CharacterHit -> CharacterHit
Parameters
- CharacterHit
- The CharacterHit to use for computing the next hit value.
Return Value
CharacterHit
A CharacterHit that represents the next valid caret character hit in the logical direction. If the return value is equal to characterHit
, no further navigation is possible in the GlyphRun.