public class TextRenderer
extends java.lang.Object
Constructor and Description |
---|
TextRenderer() |
Modifier and Type | Method and Description |
---|---|
float |
getOutlineWidth() |
float |
getTextSize() |
android.graphics.Typeface |
getTypeface() |
boolean |
isEnableOutline() |
Texture |
renderText(java.lang.String text) |
TextRenderer |
setEnableOutline(boolean enable) |
TextRenderer |
setOutlineWidth(float lineWidth) |
TextRenderer |
setTextSize(float size) |
TextRenderer |
setTypeface(android.graphics.Typeface typeface) |
public float getTextSize()
public TextRenderer setTextSize(float size)
public android.graphics.Typeface getTypeface()
public TextRenderer setTypeface(android.graphics.Typeface typeface)
public boolean isEnableOutline()
public TextRenderer setEnableOutline(boolean enable)
public float getOutlineWidth()
public TextRenderer setOutlineWidth(float lineWidth)
public Texture renderText(java.lang.String text)