Class UnicodeTextureGlyphProvider.GlpyhInfo
java.lang.Object
net.minecraft.client.gui.fonts.providers.UnicodeTextureGlyphProvider.GlpyhInfo
- All Implemented Interfaces:
IGlyph
,IGlyphInfo
- Enclosing class:
- UnicodeTextureGlyphProvider
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
GlpyhInfo
(int p_i49758_1_, int p_i49758_2_, int p_i49758_3_, int p_i49758_4_, NativeImage p_i49758_5_) -
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
int
int
float
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
Methods inherited from interface net.minecraft.client.gui.fonts.IGlyphInfo
getBearingY, getDown, getLeft, getRight, getUp
-
Field Details
-
width
private final int width -
height
private final int height -
sourceX
private final int sourceX -
sourceY
private final int sourceY -
source
-
-
Constructor Details
-
GlpyhInfo
private GlpyhInfo(int p_i49758_1_, int p_i49758_2_, int p_i49758_3_, int p_i49758_4_, NativeImage p_i49758_5_)
-
-
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
-
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
-