Class MinecraftBitmapFont
java.lang.Object
dev.pfaff.altargui.text.MinecraftBitmapFont
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final float
static final Value
<MinecraftBitmapFont> static final int
static final float
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
PIXELS_PER_CHAR
public static final int PIXELS_PER_CHAR- See Also:
-
SPACING
public static final float SPACING- See Also:
-
BOLD_ADVANCE
public static final float BOLD_ADVANCE- See Also:
-
MINECRAFT_ASCII
-
-
Constructor Details
-
MinecraftBitmapFont
- Throws:
IOException
-
-
Method Details
-
scaleFactor
public float scaleFactor()Description copied from interface:Font
The scale factor to be applied to the font size when emitting vertex data. TheGlyphRef.minX()
andGlyphRef.maxX()
must have this premultiplied.- Specified by:
scaleFactor
in interfaceFont
-
baselineShift
public float baselineShift()- Specified by:
baselineShift
in interfaceFont
-
getGlyph
-
equals
-
hashCode
-
toString
-