Constructor and Description |
---|
Overlay2DLabel(java.lang.String text,
float fontSize,
Typeface typeface)
Initialize a new Overlay2DLabel (Overlay2DLabel will adjust label size by itself.)
|
Modifier and Type | Method and Description |
---|---|
RGBColor |
getBackgroundColor()
Gets the background colour of the Label
|
com.mappedin.sdk.FocusPoints |
getPoints()
Returns a focusable object's 3D points
|
int |
getTextColor()
Gets the colour of the text on Label
|
void |
setBackgroundColor(int color)
Sets the background colour of the Label
|
void |
setText(java.lang.String text)
Sets the text of the label
|
void |
setTextColor(int color)
Sets the colour of the text on Label
|
getMap, getPosition, setPosition, setPosition, setPosition
public Overlay2DLabel(java.lang.String text, float fontSize, Typeface typeface)
text
- The text to display on the labelfontSize
- The size of the font for the labeltypeface
- The typeface of the font for the labelpublic void setText(java.lang.String text)
public void setTextColor(int color)
public int getTextColor()
public void setBackgroundColor(int color)
public RGBColor getBackgroundColor()
public com.mappedin.sdk.FocusPoints getPoints()
Focusable