Package net.minecraft.client.font
Class TrueTypeFont.TtfGlyph
java.lang.Object
net.minecraft.client.font.TrueTypeFont.TtfGlyph
- All Implemented Interfaces:
Glyph,RenderableGlyph
- Enclosing class:
TrueTypeFont
- Mappings:
Namespace Name official dse$aintermediary net/minecraft/class_395$class_397named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTtfGlyph(int x1, int x2, int y2, int y1, float float2, float float3, int glyphIndex) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.font.Glyph
getAdvance, getBoldOffset, getShadowOffsetMethods inherited from interface net.minecraft.client.font.RenderableGlyph
getXMax, getXMin, getYMax, getYMin
-
Field Details
-
width
private final int width- Mappings:
Namespace Name Mixin selector official bLdse$a;b:Iintermediary field_2338Lnet/minecraft/class_395$class_397;field_2338:Inamed widthLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;width:I
-
height
private final int height- Mappings:
Namespace Name Mixin selector official cLdse$a;c:Iintermediary field_2337Lnet/minecraft/class_395$class_397;field_2337:Inamed heightLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;height:I
-
bearingX
private final float bearingX- Mappings:
Namespace Name Mixin selector official dLdse$a;d:Fintermediary field_2334Lnet/minecraft/class_395$class_397;field_2334:Fnamed bearingXLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;bearingX:F
-
ascent
private final float ascent- Mappings:
Namespace Name Mixin selector official eLdse$a;e:Fintermediary field_2333Lnet/minecraft/class_395$class_397;field_2333:Fnamed ascentLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;ascent:F
-
advance
private final float advance- Mappings:
Namespace Name Mixin selector official fLdse$a;f:Fintermediary field_2332Lnet/minecraft/class_395$class_397;field_2332:Fnamed advanceLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;advance:F
-
glyphIndex
private final int glyphIndex- Mappings:
Namespace Name Mixin selector official gLdse$a;g:Iintermediary field_2335Lnet/minecraft/class_395$class_397;field_2335:Inamed glyphIndexLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:I
-
-
Constructor Details
-
TtfGlyph
TtfGlyph(int x1, int x2, int y2, int y1, float float2, float float3, int glyphIndex) - Mappings:
Namespace Name Mixin selector official <init>Ldse$a;<init>(Ldse;IIIIFFI)Vintermediary <init>Lnet/minecraft/class_395$class_397;<init>(Lnet/minecraft/class_395;IIIIFFI)Vnamed <init>Lnet/minecraft/client/font/TrueTypeFont$TtfGlyph;<init>(Lnet/minecraft/client/font/TrueTypeFont;IIIIFFI)V
-
-
Method Details
-
getWidth
public int getWidth()- Specified by:
getWidthin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official eLdsd;e()Iintermediary method_2031Lnet/minecraft/class_383;method_2031()Inamed getWidthLnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official fLdsd;f()Iintermediary method_2032Lnet/minecraft/class_383;method_2032()Inamed getHeightLnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getOversample
public float getOversample()- Specified by:
getOversamplein interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official hLdsd;h()Fintermediary method_2035Lnet/minecraft/class_383;method_2035()Fnamed getOversampleLnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getAdvance
public float getAdvance()- Specified by:
getAdvancein interfaceGlyph
-
getBearingX
public float getBearingX()- Specified by:
getBearingXin interfaceGlyph- Mappings:
Namespace Name Mixin selector official aLdsb;a()Fintermediary method_16797Lnet/minecraft/class_379;method_16797()Fnamed getBearingXLnet/minecraft/client/font/Glyph;getBearingX()F
-
getAscent
public float getAscent()- Specified by:
getAscentin interfaceGlyph- Specified by:
getAscentin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official bLdsb;b()Fintermediary method_15976Lnet/minecraft/class_379;method_15976()Fnamed getAscentLnet/minecraft/client/font/Glyph;getAscent()F
-
upload
public void upload(int x, int y) - Specified by:
uploadin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official aLdsd;a(II)Vintermediary method_2030Lnet/minecraft/class_383;method_2030(II)Vnamed uploadLnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()- Specified by:
hasColorin interfaceRenderableGlyph- Mappings:
Namespace Name Mixin selector official gLdsd;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-