public class MinecraftFont extends MalisisFont
| Modifier and Type | Class and Description |
|---|---|
class |
MinecraftFont.MCCharData |
charData, font, frc, minecraftFont, options, size, textureRl| Constructor and Description |
|---|
MinecraftFont() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
drawLineChar(CharData cd,
float offsetX,
float offsetY,
float factor) |
float |
getStringHeight(float fontScale)
Gets the rendering height of strings according to fontscale.
|
float |
getStringWidth(java.lang.String str,
float fontScale)
Gets rendering width of a string according to fontScale.
|
protected float |
getWidth(char c) |
protected void |
loadCharacterData() |
clipString, clipString, clipString, generateTexture, getCharWidth, getCharWidth, getMaxStringWidth, getMaxStringWidth, getResourceLocation, getShape, getStringHeight, getStringWidth, load, load, load, loadTexture, processString, readTextureFile, readUVFile, render, roundUp, wrapText, wrapTextprotected float getWidth(char c)
protected void loadCharacterData()
loadCharacterData in class MalisisFontprotected void drawLineChar(CharData cd, float offsetX, float offsetY, float factor)
drawLineChar in class MalisisFontpublic float getStringWidth(java.lang.String str,
float fontScale)
MalisisFontgetStringWidth in class MalisisFontstr - the strfontScale - the font scalepublic float getStringHeight(float fontScale)
MalisisFontgetStringHeight in class MalisisFontfontScale - the font scale