static final class TextureGlyphProvider.GlyphInfo extends java.lang.Object implements IGlyphInfo
| Modifier and Type | Field and Description |
|---|---|
private int |
advanceWidth |
private int |
ascent |
private int |
height |
private float |
scale |
private NativeImage |
texture |
private int |
unpackSkipPixels |
private int |
unpackSkipRows |
private int |
width |
| Modifier | Constructor and Description |
|---|---|
private |
GlyphInfo(float p_i49748_1_,
NativeImage p_i49748_2_,
int p_i49748_3_,
int p_i49748_4_,
int p_i49748_5_,
int p_i49748_6_,
int p_i49748_7_,
int p_i49748_8_) |
| Modifier and Type | Method and Description |
|---|---|
float |
getAdvance() |
float |
getBearingY() |
int |
getHeight() |
float |
getOversample() |
int |
getWidth() |
boolean |
isColored() |
void |
uploadGlyph(int xOffset,
int yOffset) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfunc_211198_f, func_211199_g, func_211200_h, func_211204_igetAdvance, getBearingX, getBoldOffset, getShadowOffsetprivate final float scale
private final NativeImage texture
private final int unpackSkipPixels
private final int unpackSkipRows
private final int width
private final int height
private final int advanceWidth
private final int ascent
private GlyphInfo(float p_i49748_1_,
NativeImage p_i49748_2_,
int p_i49748_3_,
int p_i49748_4_,
int p_i49748_5_,
int p_i49748_6_,
int p_i49748_7_,
int p_i49748_8_)
public float getOversample()
getOversample in interface IGlyphInfopublic int getWidth()
getWidth in interface IGlyphInfopublic int getHeight()
getHeight in interface IGlyphInfopublic float getAdvance()
getAdvance in interface IGlyphpublic float getBearingY()
getBearingY in interface IGlyphInfopublic void uploadGlyph(int xOffset,
int yOffset)
uploadGlyph in interface IGlyphInfopublic boolean isColored()
isColored in interface IGlyphInfo