Contents
Class HitInfo
java.lang.Object
javafx.scene.text.HitInfo
-
Method Details
-
getCharIndex
public int getCharIndex()The index of the character which this hit information refers to.- Returns:
- the index of the character which this hit information refers to
-
isLeading
public boolean isLeading()Indicates whether the hit is on the leading edge of the character. If it is false, it represents the trailing edge.- Returns:
- if true the hit is on the leading edge of the character, otherwise the trailing edge
-
getInsertionIndex
public int getInsertionIndex()Returns the index of the insertion position.- Returns:
- the index of the insertion position
-