public interface IFont extends IAsset
| Modifier and Type | Method and Description |
|---|---|
void |
drawCenteredString(float x,
float y,
java.lang.String s,
float scale,
boolean centeredOnY) |
void |
drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop) |
void |
drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop,
int shadowColor) |
void |
drawCutOffString(float x,
float y,
java.lang.String s,
float scale,
int length,
boolean fromRight,
boolean basedOnCharAmount) |
void |
drawFadingString(float x,
float y,
java.lang.String s,
float scale,
float fadeTotal,
float fadeInEnd,
float fadeOutStart) |
void |
drawSplitString(float x,
float y,
java.lang.String s,
float scale,
int length) |
void |
drawString(float x,
float y,
java.lang.String s,
float scale) |
void |
drawString(float x,
float y,
java.lang.String s,
float scale,
int color) |
void |
drawString(float x,
float y,
java.lang.String s,
int drawStart,
int drawEnd,
float scale,
int color) |
void |
drawString(float x,
float y,
java.lang.String s,
int drawStart,
int drawEnd,
float scale,
int color,
int shadowColor) |
void |
drawStringFromRight(float x,
float y,
java.lang.String s,
float scale) |
float |
getHeight(float scale) |
float |
getWidth(java.lang.String s,
float scale) |
java.lang.String |
removeFormatting(java.lang.String s) |
java.util.List<java.lang.String> |
splitTextToLength(int length,
float scale,
boolean wrapFormatting,
java.util.List<java.lang.String> lines) |
java.util.List<java.lang.String> |
splitTextToLength(int length,
float scale,
boolean wrapFormatting,
java.lang.String... lines) |
disposevoid drawStringFromRight(float x,
float y,
java.lang.String s,
float scale)
void drawCenteredString(float x,
float y,
java.lang.String s,
float scale,
boolean centeredOnY)
void drawFadingString(float x,
float y,
java.lang.String s,
float scale,
float fadeTotal,
float fadeInEnd,
float fadeOutStart)
void drawString(float x,
float y,
java.lang.String s,
float scale)
void drawString(float x,
float y,
java.lang.String s,
float scale,
int color)
void drawCutOffString(float x,
float y,
java.lang.String s,
float scale,
int length,
boolean fromRight,
boolean basedOnCharAmount)
void drawSplitString(float x,
float y,
java.lang.String s,
float scale,
int length)
void drawString(float x,
float y,
java.lang.String s,
int drawStart,
int drawEnd,
float scale,
int color,
int shadowColor)
void drawString(float x,
float y,
java.lang.String s,
int drawStart,
int drawEnd,
float scale,
int color)
void drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop,
int shadowColor)
void drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop)
java.lang.String removeFormatting(java.lang.String s)
float getWidth(java.lang.String s,
float scale)
float getHeight(float scale)
java.util.List<java.lang.String> splitTextToLength(int length,
float scale,
boolean wrapFormatting,
java.lang.String... lines)
java.util.List<java.lang.String> splitTextToLength(int length,
float scale,
boolean wrapFormatting,
java.util.List<java.lang.String> lines)