@Environment(value=CLIENT) static class UnicodeTextureFont.UnicodeTextureGlyph extends Object implements RenderableGlyph
Modifier and Type | Field and Description |
---|---|
private int |
height |
private NativeImage |
image |
private int |
unpackSkipPixels |
private int |
unpackSkipRows |
private int |
width |
Modifier | Constructor and Description |
---|---|
private |
UnicodeTextureGlyph(int x,
int y,
int width,
int height,
NativeImage image) |
Modifier and Type | Method and Description |
---|---|
float |
getAdvance() |
float |
getBoldOffset() |
int |
getHeight() |
float |
getOversample() |
float |
getShadowOffset() |
int |
getWidth() |
boolean |
hasColor() |
void |
upload(int x,
int y) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAscent, getXMax, getXMin, getYMax, getYMin
getAdvance, getBearingX
private final int width
private final int height
private final int unpackSkipPixels
private final int unpackSkipRows
private final NativeImage image
private UnicodeTextureGlyph(int x, int y, int width, int height, NativeImage image)
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 void upload(int x, int y)
upload
in interface RenderableGlyph
public boolean hasColor()
hasColor
in interface RenderableGlyph
public float getShadowOffset()
getShadowOffset
in interface Glyph
public float getBoldOffset()
getBoldOffset
in interface Glyph