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, wait
func_211198_f, func_211199_g, func_211200_h, func_211204_i
getAdvance, getBearingX, getBoldOffset, getShadowOffset
private 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 IGlyphInfo
public int getWidth()
getWidth
in interface IGlyphInfo
public int getHeight()
getHeight
in interface IGlyphInfo
public float getAdvance()
getAdvance
in interface IGlyph
public float getBearingY()
getBearingY
in interface IGlyphInfo
public void uploadGlyph(int xOffset, int yOffset)
uploadGlyph
in interface IGlyphInfo
public boolean isColored()
isColored
in interface IGlyphInfo