Class TextureGlyphProvider.GlyphInfo
java.lang.Object
net.minecraft.client.gui.fonts.providers.TextureGlyphProvider.GlyphInfo
- All Implemented Interfaces:
IGlyph
,IGlyphInfo
- Enclosing class:
- TextureGlyphProvider
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
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_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
int
int
boolean
void
upload
(int p_211573_1_, int p_211573_2_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.gui.fonts.IGlyph
getAdvance, getBearingX, getBoldOffset, getShadowOffset
Methods inherited from interface net.minecraft.client.gui.fonts.IGlyphInfo
getDown, getLeft, getRight, getUp
-
Field Details
-
scale
private final float scale -
image
-
offsetX
private final int offsetX -
offsetY
private final int offsetY -
width
private final int width -
height
private final int height -
advance
private final int advance -
ascent
private final int ascent
-
-
Constructor Details
-
GlyphInfo
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_)
-
-
Method Details
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceIGlyphInfo
-
getPixelWidth
public int getPixelWidth()- Specified by:
getPixelWidth
in interfaceIGlyphInfo
-
getPixelHeight
public int getPixelHeight()- Specified by:
getPixelHeight
in interfaceIGlyphInfo
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceIGlyph
-
getBearingY
public float getBearingY()- Specified by:
getBearingY
in interfaceIGlyphInfo
-
upload
public void upload(int p_211573_1_, int p_211573_2_) - Specified by:
upload
in interfaceIGlyphInfo
-
isColored
public boolean isColored()- Specified by:
isColored
in interfaceIGlyphInfo
-