接口 RenderableGlyph
-
- 所有超级接口:
Glyph
- 所有已知实现类:
BitmapFont.BitmapFontGlyph,BlankGlyph,TrueTypeFont.TtfGlyph,UnicodeTextureFont.UnicodeTextureGlyph,WhiteRectangleGlyph
@Environment(CLIENT) public interface RenderableGlyph extends Glyph
- Mappings:
Namespace Name official dnrintermediary net/minecraft/class_383named net/minecraft/client/font/RenderableGlyph
-
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default floatgetAscent()intgetHeight()floatgetOversample()intgetWidth()default floatgetXMax()default floatgetXMin()default floatgetYMax()default floatgetYMin()booleanhasColor()voidupload(int x, int y)-
从接口继承的方法 net.minecraft.client.font.Glyph
getAdvance, getAdvance, getBearingX, getBoldOffset, getShadowOffset
-
-
-
-
方法详细资料
-
getWidth
int getWidth()
- 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
int getHeight()
- Mappings:
Namespace Name Mixin selector official fLdnr;f()Iintermediary method_2032Lnet/minecraft/class_383;method_2032()Inamed getHeightLnet/minecraft/client/font/RenderableGlyph;getHeight()I
-
upload
void upload(int x, int y)- 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
boolean hasColor()
- Mappings:
Namespace Name Mixin selector official gLdnr;g()Zintermediary method_2033Lnet/minecraft/class_383;method_2033()Znamed hasColorLnet/minecraft/client/font/RenderableGlyph;hasColor()Z
-
getOversample
float getOversample()
- Mappings:
Namespace Name Mixin selector official hLdnr;h()Fintermediary method_2035Lnet/minecraft/class_383;method_2035()Fnamed getOversampleLnet/minecraft/client/font/RenderableGlyph;getOversample()F
-
getXMin
default float getXMin()
- Mappings:
Namespace Name Mixin selector official iLdnr;i()Fintermediary method_2034Lnet/minecraft/class_383;method_2034()Fnamed getXMinLnet/minecraft/client/font/RenderableGlyph;getXMin()F
-
getXMax
default float getXMax()
- Mappings:
Namespace Name Mixin selector official jLdnr;j()Fintermediary method_2027Lnet/minecraft/class_383;method_2027()Fnamed getXMaxLnet/minecraft/client/font/RenderableGlyph;getXMax()F
-
getYMin
default float getYMin()
- Mappings:
Namespace Name Mixin selector official kLdnr;k()Fintermediary method_2028Lnet/minecraft/class_383;method_2028()Fnamed getYMinLnet/minecraft/client/font/RenderableGlyph;getYMin()F
-
getYMax
default float getYMax()
- Mappings:
Namespace Name Mixin selector official lLdnr;l()Fintermediary method_2029Lnet/minecraft/class_383;method_2029()Fnamed getYMaxLnet/minecraft/client/font/RenderableGlyph;getYMax()F
-
-