Modifier and Type | Field and Description |
---|---|
int |
advance
The offset to move horizontally to the next character.
|
IntRect |
bounds
The bounding rectangle of the glyph, in coordinates relative to the baseline.
|
IntRect |
textureRect
The texture coordinates of the glyph on the font's texture.
|
public final int advance
public final IntRect bounds
public final IntRect textureRect
public Glyph(int advance, IntRect bounds, IntRect textureRect)
Font.getGlyph(int, int, boolean)
method.advance
- the offset to move horizontally to the next character.bounds
- the boundaries of the glyph.textureRect
- the texture rectangle used by the glyph.Font.getGlyph(int, int, boolean)