-
-
Method Summary
void
drawAutoScaledString(float x,
float y,
String s,
float maxScale,
int width,
int color,
int shadowColor,
boolean centeredOnX,
boolean centeredOnY)
void
void
void
void
drawCutOffString(float x,
float y,
String s,
float scale,
int length,
boolean fromRight,
boolean basedOnCharAmount)
void
drawFadingString(float x,
float y,
String s,
float scale,
float fadeTotal,
float fadeInEnd,
float fadeOutStart)
void
void
void
void
void
drawString(float x,
float y,
String s,
int drawStart,
int drawEnd,
float scale,
int color)
void
drawString(float x,
float y,
String s,
int drawStart,
int drawEnd,
float scale,
int color,
int shadowColor)
void
float
float
Methods inherited from interface de.ellpeck.rockbottom.api.render.engine.IDisposable
dispose
-
-
Method Details
-
drawStringFromRight
void drawStringFromRight(float x,
float y,
String s,
float scale)
-
drawCenteredString
void drawCenteredString(float x,
float y,
String s,
float scale,
boolean centeredOnY)
-
drawFadingString
void drawFadingString(float x,
float y,
String s,
float scale,
float fadeTotal,
float fadeInEnd,
float fadeOutStart)
-
drawString
void drawString(float x,
float y,
String s,
float scale)
-
drawString
void drawString(float x,
float y,
String s,
float scale,
int color)
-
drawCutOffString
void drawCutOffString(float x,
float y,
String s,
float scale,
int length,
boolean fromRight,
boolean basedOnCharAmount)
-
drawSplitString
void drawSplitString(float x,
float y,
String s,
float scale,
int length)
-
drawSplitString
void drawSplitString(float x,
float y,
String s,
float scale,
int... lengths)
-
drawString
void drawString(float x,
float y,
String s,
int drawStart,
int drawEnd,
float scale,
int color,
int shadowColor)
-
drawString
void drawString(float x,
float y,
String s,
int drawStart,
int drawEnd,
float scale,
int color)
-
drawAutoScaledString
void drawAutoScaledString(float x,
float y,
String s,
float maxScale,
int width,
int color,
int shadowColor,
boolean centeredOnX,
boolean centeredOnY)
-
drawCharacter
void drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop,
int shadowColor)
-
drawCharacter
void drawCharacter(float x,
float y,
char character,
float scale,
int color,
FontProp prop)
-
-
getWidth
float getWidth(String s,
float scale)
-
getHeight
float getHeight(float scale)
-
splitTextToLength
List<String> splitTextToLength(int length,
float scale,
boolean wrapFormatting,
String... lines)
-
-
splitTextToLength
List<String> splitTextToLength(int[] lengths,
float scale,
boolean wrapFormatting,
String... lines)
-
splitTextToLength
List<String> splitTextToLength(float scale,
boolean wrapFormatting,
List<String> lines,
int... lengths)