Package gov.nasa.worldwind.render
Class TextRenderer
- java.lang.Object
-
- gov.nasa.worldwind.render.TextRenderer
-
public class TextRenderer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description TextRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Color
getOutlineColor()
float
getOutlineWidth()
Color
getTextColor()
float
getTextSize()
android.graphics.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(android.graphics.Typeface typeface)
-
-
-
Method Detail
-
getTextColor
public Color getTextColor()
-
setTextColor
public void setTextColor(Color color)
-
getTextSize
public float getTextSize()
-
setTextSize
public TextRenderer setTextSize(float size)
-
getTypeface
public android.graphics.Typeface getTypeface()
-
setTypeface
public TextRenderer setTypeface(android.graphics.Typeface typeface)
-
isEnableOutline
public boolean isEnableOutline()
-
setEnableOutline
public TextRenderer setEnableOutline(boolean enable)
-
getOutlineColor
public Color getOutlineColor()
-
setOutlineColor
public void setOutlineColor(Color outlineColor)
-
getOutlineWidth
public float getOutlineWidth()
-
setOutlineWidth
public TextRenderer setOutlineWidth(float lineWidth)
-
renderText
public Texture renderText(java.lang.String text)
-
-