Class TextureGlyphProvider.GlyphInfo
- java.lang.Object
-
- net.minecraft.client.gui.fonts.providers.TextureGlyphProvider.GlyphInfo
-
- All Implemented Interfaces:
IGlyph
,IGlyphInfo
- Enclosing class:
- TextureGlyphProvider
static final class TextureGlyphProvider.GlyphInfo extends java.lang.Object implements IGlyphInfo
-
-
Constructor Summary
Constructors Modifier Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAdvance()
float
getBearingY()
float
getOversample()
int
getPixelHeight()
int
getPixelWidth()
boolean
isColored()
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 Detail
-
scale
private final float scale
-
image
private final NativeImage 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 Detail
-
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 Detail
-
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
-
-