@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, waitgetAscent, getXMax, getXMin, getYMax, getYMingetAdvance, getBearingXprivate 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 RenderableGlyphpublic int getWidth()
getWidth in interface RenderableGlyphpublic int getHeight()
getHeight in interface RenderableGlyphpublic float getAdvance()
getAdvance in interface Glyphpublic void upload(int x,
int y)
upload in interface RenderableGlyphpublic boolean hasColor()
hasColor in interface RenderableGlyphpublic float getShadowOffset()
getShadowOffset in interface Glyphpublic float getBoldOffset()
getBoldOffset in interface Glyph