@Environment(value=CLIENT) static final class BitmapFont.BitmapFontGlyph extends Object implements RenderableGlyph
| Modifier and Type | Field and Description |
|---|---|
private int |
advance |
private int |
ascent |
private int |
height |
private NativeImage |
image |
private float |
scaleFactor |
private int |
width |
private int |
x |
private int |
y |
| Modifier | Constructor and Description |
|---|---|
private |
BitmapFontGlyph(float scaleFactor,
NativeImage image,
int x,
int y,
int width,
int height,
int advance,
int ascent) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAdvance() |
float |
getAscent() |
int |
getHeight() |
float |
getOversample() |
int |
getWidth() |
boolean |
hasColor() |
void |
upload(int x,
int y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetXMax, getXMin, getYMax, getYMingetAdvance, getBearingX, getBoldOffset, getShadowOffsetprivate final float scaleFactor
private final NativeImage image
private final int x
private final int y
private final int width
private final int height
private final int advance
private final int ascent
private BitmapFontGlyph(float scaleFactor,
NativeImage image,
int x,
int y,
int width,
int height,
int advance,
int ascent)
public float getOversample()
getOversample in interface RenderableGlyphpublic int getWidth()
getWidth in interface RenderableGlyphpublic int getHeight()
getHeight in interface RenderableGlyphpublic float getAdvance()
getAdvance in interface Glyphpublic float getAscent()
getAscent in interface RenderableGlyphpublic void upload(int x,
int y)
upload in interface RenderableGlyphpublic boolean hasColor()
hasColor in interface RenderableGlyph