swigCMemOwn
Constructor and Description |
---|
Label(Billboard baseBillboard,
LabelStyle style)
Constructs an abstract Label object with the specified style and attaches it to a billboard element.
|
Label(Geometry geometry,
LabelStyle style)
Constructs an abstract Label object from a geometry object and a style.
|
Label(long cPtr,
boolean cMemoryOwn) |
Label(MapPos pos,
LabelStyle style)
Constructs an abstract Label object from a map position and a style.
|
Modifier and Type | Method and Description |
---|---|
void |
delete() |
Bitmap |
drawBitmap(float dpToPX)
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. |
protected void |
finalize() |
static long |
getCPtr(Label obj) |
LabelStyle |
getStyle()
Returns the style of this label.
|
void |
setStyle(LabelStyle style)
Sets the style for this label.
|
static Label |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
protected void |
swigDirectorDisconnect() |
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
void |
swigReleaseOwnership() |
void |
swigTakeOwnership() |
getBaseBillboard, getBounds, getCPtr, getGeometry, getRootGeometry, getRotation, setBaseBillboard, setGeometry, setPos, setRotation
equals, getCPtr, getId, getMetaData, getMetaDataElement, hashCode, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public Label(long cPtr, boolean cMemoryOwn)
public Label(Billboard baseBillboard, LabelStyle style)
baseBillboard
- The billboard this label will be attached to.style
- The style that defines what this label looks like.public Label(Geometry geometry, LabelStyle style)
geometry
- The geometry object that defines the location of this label.style
- The style that defines what this label looks like.public Label(MapPos pos, LabelStyle style)
pos
- The map position that defines the location of this label.style
- The style that defines what this label looks like.public static long getCPtr(Label obj)
protected void swigDirectorDisconnect()
public void swigReleaseOwnership()
public void swigTakeOwnership()
public static Label swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public Bitmap drawBitmap(float dpToPX)
dpToPX
- The value used for converting display independent pixels (dp) to pixels (px).public LabelStyle getStyle()
public void setStyle(LabelStyle style)
public java.lang.String swigGetClassName()
swigGetClassName
in class Billboard
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class Billboard