(class)
public final InputMethodCaretPosition
Describes the position of the caret for the input manager.
Description
constructor public | {InputMethodCaretPosition.default} |
height: | The height of the caret. |
field public constant InputMethodCaretPosition.height:
Distance
index: | The index of the caret within the composition string. |
field public constant InputMethodCaretPosition.index:
int
left: | The horizontal position of the caret. |
field public constant InputMethodCaretPosition.left:
Distance
top: | The vertical position of the caret. |
field public constant InputMethodCaretPosition.top:
Distance
(constructor)
public | {InputMethodCaretPosition.default} |
(factory)
Construct uninitialized value.
Introduced in:
version 6.0
(field)
public constant InputMethodCaretPosition.height:
Distance
(field)
public constant InputMethodCaretPosition.index:
int The index of the caret within the composition string.
Notes
When there is no composition string, this value typically has no meaning. Zero is a good choice in this situation.
(field)
public constant InputMethodCaretPosition.left:
Distance The horizontal position of the caret.
Description
The position is relative to the graphical origin of the
InputMethodClient. In particular, since
InputMethodClients are intended to be mixed into
Visuals, the position is relative to the graphical origin of the
Visual.
(field)
public constant InputMethodCaretPosition.top:
Distance The vertical position of the caret.
Description
The position is relative to the coordinate system of the
InputMethodClient. In particular, since
InputMethodClients are intended to be mixed into
Visuals, the position is relative to the coordinate system of the
Visual.