public class TextRenderer
extends java.lang.Object
Constructor and Description |
---|
TextRenderer() |
Modifier and Type | Method and Description |
---|---|
Color |
getOutlineColor() |
float |
getOutlineWidth() |
Color |
getTextColor() |
float |
getTextSize() |
Typeface |
getTypeface() |
boolean |
isEnableOutline() |
Texture |
renderText(java.lang.String text) |
TextRenderer |
setEnableOutline(boolean enable) |
void |
setOutlineColor(Color outlineColor) |
TextRenderer |
setOutlineWidth(float lineWidth) |
void |
setTextColor(Color color) |
TextRenderer |
setTextSize(float size) |
TextRenderer |
setTypeface(Typeface typeface) |
public Color getTextColor()
public void setTextColor(Color color)
public float getTextSize()
public TextRenderer setTextSize(float size)
public Typeface getTypeface()
public TextRenderer setTypeface(Typeface typeface)
public boolean isEnableOutline()
public TextRenderer setEnableOutline(boolean enable)
public Color getOutlineColor()
public void setOutlineColor(Color outlineColor)
public float getOutlineWidth()
public TextRenderer setOutlineWidth(float lineWidth)
public Texture renderText(java.lang.String text)