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 ColorgetOutlineColor()floatgetOutlineWidth()ColorgetTextColor()floatgetTextSize()android.graphics.TypefacegetTypeface()booleanisEnableOutline()TexturerenderText(java.lang.String text)TextRenderersetEnableOutline(boolean enable)voidsetOutlineColor(Color outlineColor)TextRenderersetOutlineWidth(float lineWidth)voidsetTextColor(Color color)TextRenderersetTextSize(float size)TextRenderersetTypeface(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)
-
-