@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, wait
getXMax, getXMin, getYMax, getYMin
getAdvance, getBearingX, getBoldOffset, getShadowOffset
private 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 RenderableGlyph
public int getWidth()
getWidth
in interface RenderableGlyph
public int getHeight()
getHeight
in interface RenderableGlyph
public float getAdvance()
getAdvance
in interface Glyph
public float getAscent()
getAscent
in interface RenderableGlyph
public void upload(int x, int y)
upload
in interface RenderableGlyph
public boolean hasColor()
hasColor
in interface RenderableGlyph