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
(int p_83882_, int p_83883_, int p_83884_, int p_83885_, float p_83886_, float p_83887_, int p_83888_) -
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(int p_83882_, int p_83883_, int p_83884_, int p_83885_, float p_83886_, float p_83887_, int p_83888_)
-
-
Method Details
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyphInfo
-
bake
-