Class UnicodeTextureGlyphProvider.GlpyhInfo
- java.lang.Object
-
- net.minecraft.client.gui.fonts.providers.UnicodeTextureGlyphProvider.GlpyhInfo
-
- All Implemented Interfaces:
IGlyph
,IGlyphInfo
- Enclosing class:
- UnicodeTextureGlyphProvider
static class UnicodeTextureGlyphProvider.GlpyhInfo extends java.lang.Object implements IGlyphInfo
-
-
Constructor Summary
Constructors Modifier Constructor Description private
GlpyhInfo(int p_i49758_1_, int p_i49758_2_, int p_i49758_3_, int p_i49758_4_, NativeImage p_i49758_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getAdvance()
float
getBoldOffset()
float
getOversample()
int
getPixelHeight()
int
getPixelWidth()
float
getShadowOffset()
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
-
Methods inherited from interface net.minecraft.client.gui.fonts.IGlyphInfo
getBearingY, getDown, getLeft, getRight, getUp
-
-
-
-
Field Detail
-
width
private final int width
-
height
private final int height
-
sourceX
private final int sourceX
-
sourceY
private final int sourceY
-
source
private final NativeImage source
-
-
Constructor Detail
-
GlpyhInfo
private GlpyhInfo(int p_i49758_1_, int p_i49758_2_, int p_i49758_3_, int p_i49758_4_, NativeImage p_i49758_5_)
-
-
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
-
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
-
getShadowOffset
public float getShadowOffset()
- Specified by:
getShadowOffset
in interfaceIGlyph
-
getBoldOffset
public float getBoldOffset()
- Specified by:
getBoldOffset
in interfaceIGlyph
-
-