Package gov.nasa.worldwind.shape
Class TextAttributes
- java.lang.Object
-
- gov.nasa.worldwind.shape.TextAttributes
-
public class TextAttributes extends java.lang.Object
Holds attributes applied to text shapes andPlacemark
labels.
-
-
Constructor Summary
Constructors Constructor Description TextAttributes()
TextAttributes(TextAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Color
getOutlineColor()
float
getOutlineWidth()
Color
getTextColor()
Offset
getTextOffset()
float
getTextSize()
android.graphics.Typeface
getTypeface()
int
hashCode()
boolean
isEnableDepthTest()
boolean
isEnableOutline()
TextAttributes
set(TextAttributes attributes)
TextAttributes
setEnableDepthTest(boolean enable)
TextAttributes
setEnableOutline(boolean enable)
TextAttributes
setOutlineColor(Color color)
TextAttributes
setOutlineWidth(float lineWidth)
TextAttributes
setTextColor(Color color)
TextAttributes
setTextOffset(Offset offset)
TextAttributes
setTextSize(float size)
TextAttributes
setTypeface(android.graphics.Typeface typeface)
-
-
-
Constructor Detail
-
TextAttributes
public TextAttributes()
-
TextAttributes
public TextAttributes(TextAttributes attributes)
-
-
Method Detail
-
set
public TextAttributes set(TextAttributes attributes)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getTextColor
public Color getTextColor()
-
setTextColor
public TextAttributes setTextColor(Color color)
-
getTextOffset
public Offset getTextOffset()
-
setTextOffset
public TextAttributes setTextOffset(Offset offset)
-
getTextSize
public float getTextSize()
-
setTextSize
public TextAttributes setTextSize(float size)
-
getTypeface
public android.graphics.Typeface getTypeface()
-
setTypeface
public TextAttributes setTypeface(android.graphics.Typeface typeface)
-
isEnableOutline
public boolean isEnableOutline()
-
setEnableOutline
public TextAttributes setEnableOutline(boolean enable)
-
getOutlineColor
public Color getOutlineColor()
-
setOutlineColor
public TextAttributes setOutlineColor(Color color)
-
isEnableDepthTest
public boolean isEnableDepthTest()
-
setEnableDepthTest
public TextAttributes setEnableDepthTest(boolean enable)
-
getOutlineWidth
public float getOutlineWidth()
-
setOutlineWidth
public TextAttributes setOutlineWidth(float lineWidth)
-
-