| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | |
| public int | |
| public float | |
| public RectBounds | |
| public Point2D | |
| public int | Returns: the glyph offsetthe x coordinate x, AtomicBoolean the reference to hold the trailing flag trailing)Gets the glyph offset at the specified x coordinate. |
| public float | |
| public float | |
| public int | |
| public TextSpan | getTextSpan()
Used during layout children (for rich text) can be null (for non-rich text) but never null for rich text. |
| public float | |
| public boolean | isComplex()
Means that this GlyphList was shaped using complex processing (ICU), either because it is complex script or because font features were requested. |
| public boolean | Returns: whether this GlyphList is a line breakReturns true if this GlyphList is a line break. |
| getCharOffset | back to summary |
|---|---|
| public int getCharOffset(int glyphIndex) Maps the given glyph index to the char offset. (used during rendering (selection)) | |
| getGlyphCode | back to summary |
|---|---|
| public int getGlyphCode(int glyphIndex) Returns the glyph code for the given glyphIndex. | |
| getGlyphCount | back to summary |
|---|---|
| public int getGlyphCount() Returns the number of glyphs in GlyphList. | |
| getHeight | back to summary |
|---|---|
| public float getHeight() Returns the height of the GlyphList | |
| getLineBounds | back to summary |
|---|---|
| public RectBounds getLineBounds() See TextLine#getBounds() (used outside text layout in rendering and span bounds) | |
| getLocation | back to summary |
|---|---|
| public Point2D getLocation() The top-left location of the GlyphList relative to the origin of the Text Layout. | |
| getOffsetAtX | back to summary |
|---|---|
| public int getOffsetAtX(float x, AtomicBoolean trailing) Gets the glyph offset at the specified x coordinate.
| |
| getPosX | back to summary |
|---|---|
| public float getPosX(int glyphIndex) The x position for the given glyphIndex relative the GlyphList. | |
| getPosY | back to summary |
|---|---|
| public float getPosY(int glyphIndex) The y position for the given glyphIndex relative the GlyphList. | |
| getStart | back to summary |
|---|---|
| public int getStart() Returns the start offset.
| |
| getTextSpan | back to summary |
|---|---|
| public TextSpan getTextSpan() Used during layout children (for rich text) can be null (for non-rich text) but never null for rich text. | |
| getWidth | back to summary |
|---|---|
| public float getWidth() Returns the width of the GlyphList | |
| isComplex | back to summary |
|---|---|
| public boolean isComplex() Means that this GlyphList was shaped using complex processing (ICU), either because it is complex script or because font features were requested. (used outside text layout in rendering) | |
| isLinebreak | back to summary |
|---|---|
| public boolean isLinebreak() Returns true if this GlyphList is a line break.
| |