Package gov.nasa.worldwind.shape
Class TextAttributes
- java.lang.Object
-
- gov.nasa.worldwind.shape.TextAttributes
-
public class TextAttributes extends java.lang.ObjectHolds attributes applied to text shapes andPlacemarklabels.
-
-
Constructor Summary
Constructors Constructor Description TextAttributes()TextAttributes(TextAttributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)ColorgetOutlineColor()floatgetOutlineWidth()ColorgetTextColor()OffsetgetTextOffset()floatgetTextSize()android.graphics.TypefacegetTypeface()inthashCode()booleanisEnableDepthTest()booleanisEnableOutline()TextAttributesset(TextAttributes attributes)TextAttributessetEnableDepthTest(boolean enable)TextAttributessetEnableOutline(boolean enable)TextAttributessetOutlineColor(Color color)TextAttributessetOutlineWidth(float lineWidth)TextAttributessetTextColor(Color color)TextAttributessetTextOffset(Offset offset)TextAttributessetTextSize(float size)TextAttributessetTypeface(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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)
-
-