public class Billboard extends VectorElement
swigCMemOwn
构造器和说明 |
---|
Billboard(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
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()
返回billboard的旋转角度
|
void |
setBaseBillboard(Billboard baseBillboard)
Attaches this billboard to another billboard, so it will always be drawn relative to the base billboard.
|
void |
setGeometry(Geometry geometry)
Sets the location for this billboard.
|
void |
setPos(MapPos pos)
设置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.
|
attachTerrain, attachTerrain, autoNotifyElementChanged, equals, getCPtr, getId, getInternalElevation, getMetaData, getMetaDataElement, hashCode, hasInternalElevation, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public static long getCPtr(Billboard obj)
protected void finalize()
finalize
在类中 VectorElement
public void delete()
delete
在类中 VectorElement
public static Billboard swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public Billboard getBaseBillboard()
public void setBaseBillboard(Billboard baseBillboard)
baseBillboard
- The billboard this billboard will be attached to.public MapBounds getBounds()
getBounds
在类中 VectorElement
public Geometry getRootGeometry()
public Geometry getGeometry()
getGeometry
在类中 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)
rotation
- billboard的新角度,以度为单位public java.lang.String swigGetClassName()
swigGetClassName
在类中 VectorElement
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 VectorElement