Package com.mojang.blaze3d.font
Class TrueTypeGlyphProvider.Glyph
java.lang.Object
com.mojang.blaze3d.font.TrueTypeGlyphProvider.Glyph
- Enclosing class:
- TrueTypeGlyphProvider
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlyph(int p_83882_, int p_83883_, int p_83884_, int p_83885_, float p_83886_, float p_83887_, int p_83888_) -
Method Summary
Modifier and TypeMethodDescriptionfloatfloatfloatfloatintintbooleanvoidupload(int p_83901_, int p_83902_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mojang.blaze3d.font.GlyphInfo
getAdvance, getBoldOffset, getShadowOffset
-
Field Details
-
width
private final int width -
height
private final int height -
bearingX
private final float bearingX -
bearingY
private final float bearingY -
advance
private final float advance -
index
private final int index
-
-
Constructor Details
-
Glyph
Glyph(int p_83882_, int p_83883_, int p_83884_, int p_83885_, float p_83886_, float p_83887_, int p_83888_)
-
-
Method Details
-
getPixelWidth
public int getPixelWidth()- Specified by:
getPixelWidthin interfaceRawGlyph
-
getPixelHeight
public int getPixelHeight()- Specified by:
getPixelHeightin interfaceRawGlyph
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceRawGlyph
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyphInfo
-
getBearingX
public float getBearingX()- Specified by:
getBearingXin interfaceGlyphInfo
-
getBearingY
public float getBearingY()- Specified by:
getBearingYin interfaceGlyphInfo- Specified by:
getBearingYin interfaceRawGlyph
-
upload
public void upload(int p_83901_, int p_83902_) -
isColored
public boolean isColored()
-