public static class GlyphLayout.GlyphRun extends java.lang.Object implements Pool.Poolable
Modifier and Type | Field and Description |
---|---|
Array<BitmapFont.Glyph> |
glyphs |
float |
width |
float |
x |
FloatArray |
xAdvances
Contains glyphs.size+1 entries:
The first entry is the X offset relative to the drawing position. Subsequent entries are the X advance relative to previous glyph position. The last entry is the width of the last glyph. |
float |
y |
Constructor and Description |
---|
GlyphRun() |
Modifier and Type | Method and Description |
---|---|
void |
reset()
Resets the object for reuse.
|
java.lang.String |
toString() |
public Array<BitmapFont.Glyph> glyphs
public FloatArray xAdvances
public float x
public float y
public float width
public void reset()
Pool.Poolable
reset
in interface Pool.Poolable
public java.lang.String toString()
toString
in class java.lang.Object