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, setVisible
public static long getCPtr(Billboard obj)
protected void finalize()
finalize
in class VectorElement
public void delete()
delete
in class VectorElement
public 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 VectorElement
public Geometry getRootGeometry()
public Geometry getGeometry()
getGeometry
in class VectorElement
public 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 VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class VectorElement