Class LegacyUnicodeBitmapsProvider.Glyph
java.lang.Object
net.minecraft.client.gui.font.providers.LegacyUnicodeBitmapsProvider.Glyph
- Enclosing class:
- LegacyUnicodeBitmapsProvider
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGlyph(int p_95460_, int p_95461_, int p_95462_, int p_95463_, NativeImage p_95464_)
-
Method Summary
Modifier and TypeMethodDescriptionfloat
float
float
int
int
float
boolean
void
upload(int p_95473_, int p_95474_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.mojang.blaze3d.font.GlyphInfo
getAdvance, getBearingX
-
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
-
Glyph
Glyph(int p_95460_, int p_95461_, int p_95462_, int p_95463_, NativeImage p_95464_)
-
-
Method Details
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceRawGlyph
-
getPixelWidth
public int getPixelWidth()- Specified by:
getPixelWidth
in interfaceRawGlyph
-
getPixelHeight
public int getPixelHeight()- Specified by:
getPixelHeight
in interfaceRawGlyph
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyphInfo
-
upload
public void upload(int p_95473_, int p_95474_) -
isColored
public boolean isColored() -
getShadowOffset
public float getShadowOffset()- Specified by:
getShadowOffset
in interfaceGlyphInfo
-
getBoldOffset
public float getBoldOffset()- Specified by:
getBoldOffset
in interfaceGlyphInfo
-