| java.lang.Object | |||
| ↳ | com.carto.vectorelements.VectorElement | ||
| ↳ | com.carto.vectorelements.Billboard | ||
| ↳ | com.carto.vectorelements.Label | ||
Known Direct Subclasses
|
An abstract billboard element with a dynamically drawn bitmap that can be displayed on the map.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| synchronized void | delete() | ||||||||||
| Bitmap |
drawBitmap(float dpToPX)
Draws a custom bitmap for this label that will be used for drawing the label on the map.
| ||||||||||
| LabelStyle |
getStyle()
Returns the style of this label.
| ||||||||||
| void |
setStyle(LabelStyle style)
Sets the style for this label.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.carto.vectorelements.Billboard
| |||||||||||
From class
com.carto.vectorelements.VectorElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
Draws a custom bitmap for this label that will be used for drawing the label on the map.
The method is called each time the label gets reloaded internally.
| dpToPX | The value used for converting display independent pixels (dp) to pixels (px). |
|---|
Returns the style of this label.
Sets the style for this label.
| style | The new style that defines what this marker looks like. |
|---|