Text or a TextFlow node,
such as break up of the text into lines, as well as other shapes derived from the layout
(selection, underline, etc.).
The information in this object is valid until the next layout cycle.
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract CaretInfo | Returns: theCaretInfo objectthe character index charIndex, boolean whether the caret is biased on the leading edge of the character leading)Returns the information related to the caret at the specified character index and the character bias. |
| public abstract Rectangle2D | Returns: the layout boundsdetermines whether the line spacing after last text line should be included includeLineSpacing)Returns the logical bounds of the layout. |
| public abstract List | Returns: the immutable list ofRectangle2D objectsthe start offset start, int the end offset end, boolean determines whether the result includes the line spacing includeLineSpacing)Returns the geometry of the text selection, as an immutable list of |
| public abstract List | Returns: the immutable list ofRectangle2D objectsthe start offset start, int the end offset end)Returns the geometry of the strike-through shape, as an immutable list of |
| public abstract TextLineInfo | Returns: theTextLineInfo objectthe line index index, boolean determines whether the result includes the line spacing includeLineSpacing)Returns the |
| public abstract int | |
| public abstract List | Returns: the immutable list ofTextLineInfo objectsdetermines whether the result includes the line spacing includeLineSpacing)Returns the immutable list of text lines in the layout. |
| public abstract List | Returns: the immutable list ofRectangle2D objectsthe start offset start, int the end offset end)Returns the geometry of the underline shape, as an immutable list of |
| LayoutInfo | back to summary |
|---|---|
| protected LayoutInfo() Constructor for subclasses to call. | |
| caretInfoAt | back to summary |
|---|---|
| public abstract CaretInfo caretInfoAt(int charIndex, boolean leading) Returns the information related to the caret at the specified character index and the character bias.
| |
| getLogicalBounds | back to summary |
|---|---|
| public abstract Rectangle2D getLogicalBounds(boolean includeLineSpacing) Returns the logical bounds of the layout.
Depending on
| |
| getSelectionGeometry | back to summary |
|---|---|
| public abstract List Returns the geometry of the text selection, as an immutable list of
| |
| getStrikeThroughGeometry | back to summary |
|---|---|
| public abstract List Returns the geometry of the strike-through shape, as an immutable list of
| |
| getTextLine | back to summary |
|---|---|
| public abstract TextLineInfo getTextLine(int index, boolean includeLineSpacing) Returns the
| |
| getTextLineCount | back to summary |
|---|---|
| public abstract int getTextLineCount() Returns the number of text lines in the layout.
| |
| getTextLines | back to summary |
|---|---|
| public abstract List Returns the immutable list of text lines in the layout.
| |
| getUnderlineGeometry | back to summary |
|---|---|
| public abstract List Returns the geometry of the underline shape, as an immutable list of
| |