Package com.mojang.blaze3d.font
Class TrueTypeGlyphProvider.Glyph
java.lang.Object
com.mojang.blaze3d.font.TrueTypeGlyphProvider.Glyph
- Enclosing class:
- TrueTypeGlyphProvider
-
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
Modifier and TypeMethodDescriptionfloat
float
float
float
int
int
boolean
void
upload
(int p_83901_, int p_83902_) 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
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:
getPixelWidth
in interfaceRawGlyph
-
getPixelHeight
public int getPixelHeight()- Specified by:
getPixelHeight
in interfaceRawGlyph
-
getOversample
public float getOversample()- Specified by:
getOversample
in interfaceRawGlyph
-
getAdvance
public float getAdvance()- Specified by:
getAdvance
in interfaceGlyphInfo
-
getBearingX
public float getBearingX()- Specified by:
getBearingX
in interfaceGlyphInfo
-
getBearingY
public float getBearingY()- Specified by:
getBearingY
in interfaceGlyphInfo
- Specified by:
getBearingY
in interfaceRawGlyph
-
upload
public void upload(int p_83901_, int p_83902_) -
isColored
public boolean isColored()
-