public class Billboard extends VectorElement
swigCMemOwn| Constructor and Description |
|---|
Billboard(long cPtr,
boolean cMemoryOwn) |
| Modifier and Type | Method and Description |
|---|---|
void |
delete() |
protected void |
finalize() |
Billboard |
getBaseBillboard()
Returns the base billboard this billboard is attached to.
|
MapBounds |
getBounds()
Returns the bounds of this billboard or the base billboard, if there is one.
|
static long |
getCPtr(Billboard obj) |
Geometry |
getGeometry()
Returns the geometry object that defines the location of this billboard.
|
Geometry |
getRootGeometry()
Returns the location of the root billboard.
|
float |
getRotation()
Returns the rotation angle of this billboard.
|
void |
setBaseBillboard(Billboard baseBillboard)
Attaches this billboard to another billboard, so it will always be drawn relative to the base billboard.
If this billboard has a geometry object assigned to it, it will first be set to null. |
void |
setGeometry(Geometry geometry)
Sets the location for this billboard.
|
void |
setPos(MapPos pos)
Sets the location for this billboard.
|
void |
setRotation(float rotation)
Sets the rotation angle of this billboard.
|
static Billboard |
swigCreatePolymorphicInstance(long cPtr,
boolean cMemoryOwn)
Creates a polymorphic instance of the given native object.
|
java.lang.String |
swigGetClassName()
Returns the actual class name of this object.
|
java.lang.Object |
swigGetDirectorObject()
Returns the connected director object.
|
equals, getCPtr, getId, getMetaData, getMetaDataElement, hashCode, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisiblepublic static long getCPtr(Billboard obj)
protected void finalize()
finalize in class VectorElementpublic void delete()
delete in class VectorElementpublic static Billboard swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public Billboard getBaseBillboard()
public void setBaseBillboard(Billboard baseBillboard)
baseBillboard - The billboard this billboard will be attached to.public MapBounds getBounds()
getBounds in class VectorElementpublic Geometry getRootGeometry()
public Geometry getGeometry()
getGeometry in class VectorElementpublic void setGeometry(Geometry geometry)
geometry - The new geometry object that defines the location of this billboard.public void setPos(MapPos pos)
pos - The new map position that defines the location of this billboard.public float getRotation()
public void setRotation(float rotation)
public java.lang.String swigGetClassName()
swigGetClassName in class VectorElementpublic java.lang.Object swigGetDirectorObject()
swigGetDirectorObject in class VectorElement