Package com.mojang.blaze3d.font
Class TrueTypeGlyphProvider.Glyph
java.lang.Object
com.mojang.blaze3d.font.TrueTypeGlyphProvider.Glyph
- All Implemented Interfaces:
GlyphInfo
- Enclosing class:
TrueTypeGlyphProvider
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mojang.blaze3d.font.GlyphInfo
GlyphInfo.SpaceGlyphInfo
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGlyph
(float p_83886_, float p_83887_, int p_83882_, int p_83883_, float p_331469_, int p_83884_) -
Method Summary
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, getBoldOffset, getShadowOffset
-
Field Details
-
width
final int width -
height
final int height -
bearingX
final float bearingX -
bearingY
final float bearingY -
advance
private final float advance -
index
final int index
-
-
Constructor Details
-
Glyph
Glyph(float p_83886_, float p_83887_, int p_83882_, int p_83883_, float p_331469_, int p_83884_)
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyphInfo
-
bake
-