类 TrueTypeFont.TtfGlyph
- java.lang.Object
-
- net.minecraft.client.font.TrueTypeFont.TtfGlyph
-
- 所有已实现的接口:
Glyph,RenderableGlyph
- 封闭类:
- TrueTypeFont
@Environment(CLIENT) class TrueTypeFont.TtfGlyph extends Object implements RenderableGlyph
- Mappings:
Namespace Name official dns$aintermediary net/minecraft/class_395$class_397named net/minecraft/client/font/TrueTypeFont$TtfGlyph
-
-
构造器概要
构造器 限定符 构造器 说明 privateTtfGlyph(int xMin, int xMax, int yMax, int yMin, float advance, float bearing, int index)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 floatgetAdvance()floatgetAscent()floatgetBearingX()intgetHeight()floatgetOversample()intgetWidth()booleanhasColor()voidupload(int x, int y)-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.client.font.Glyph
getAdvance, getBoldOffset, getShadowOffset
-
从接口继承的方法 net.minecraft.client.font.RenderableGlyph
getXMax, getXMin, getYMax, getYMin
-
-
-
-
字段详细资料
-
width
private final int width
- Mappings:
Namespace Name Mixin selector official bLdns$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 cLdns$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 dLdns$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 eLdns$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 fLdns$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 gLdns$a;g:Iintermediary field_2335Lnet/minecraft/class_395$class_397;field_2335:Inamed glyphIndexLnet/minecraft/client/font/TrueTypeFont$TtfGlyph;glyphIndex:I
-
-
构造器详细资料
-
TtfGlyph
private TtfGlyph(int xMin, int xMax, int yMax, int yMin, float advance, float bearing, int index)- Mappings:
Namespace Name Mixin selector official <init>Ldns$a;<init>(Ldns;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
-
-
方法详细资料
-
getWidth
public int getWidth()
- 指定者:
getWidth在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official eLdnr;e()Iintermediary method_2031Lnet/minecraft/class_383;method_2031()Inamed getWidthLnet/minecraft/client/font/RenderableGlyph;getWidth()I
-
getHeight
public int getHeight()
- 指定者:
getHeight在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official fLdnr;f()Iintermediary method_2032Lnet/minecraft/class_383;method_2032()Inamed getHeightLnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
getOversample
public float getOversample()
- 指定者:
getOversample在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official hLdnr;h()Fintermediary method_2035Lnet/minecraft/class_383;method_2035()Fnamed getOversampleLnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getAdvance
public float getAdvance()
- 指定者:
getAdvance在接口中Glyph- Mappings:
Namespace Name Mixin selector official getAdvanceLdnp;getAdvance()Fintermediary getAdvanceLnet/minecraft/class_379;getAdvance()Fnamed getAdvanceLnet/minecraft/client/font/Glyph;getAdvance()F
-
getBearingX
public float getBearingX()
- 指定者:
getBearingX在接口中Glyph- Mappings:
Namespace Name Mixin selector official aLdnp;a()Fintermediary method_16797Lnet/minecraft/class_379;method_16797()Fnamed getBearingXLnet/minecraft/client/font/Glyph;getBearingX()F
-
getAscent
public float getAscent()
- 指定者:
getAscent在接口中Glyph- 指定者:
getAscent在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official bLdnp;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)- 指定者:
upload在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official aLdnr;a(II)Vintermediary method_2030Lnet/minecraft/class_383;method_2030(II)Vnamed uploadLnet/minecraft/client/font/RenderableGlyph;upload(II)V
-
hasColor
public boolean hasColor()
- 指定者:
hasColor在接口中RenderableGlyph- Mappings:
Namespace Name Mixin selector official gLdnr;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-
-