public class Popup extends Billboard
swigCMemOwn
构造器和说明 |
---|
Popup(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
Bitmap |
drawBitmap(ScreenPos anchorScreenPos,
float screenWidth,
float screenHeight,
float dpToPX)
Draws a custom bitmap for this Popup that will be used for drawing the Popup on the map.
|
protected void |
finalize() |
float |
getAnchorPointX()
Returns the horizontal anchor point of this popup.
|
float |
getAnchorPointY()
Returns the vertical anchor point of this popup.
|
static long |
getCPtr(Popup obj) |
PopupStyle |
getStyle()
Returns the style of this Popup.
|
void |
setAnchorPoint(float anchorPointX,
float anchorPointY)
Sets the anchor point for the popup.
|
void |
setAnchorPointX(float anchorPointX)
Sets the horizontal anchor point for the popup.
|
void |
setAnchorPointY(float anchorPointY)
Sets the vertical anchor point for the popup.
|
void |
setStyle(PopupStyle style)
Sets the style for this Popup.
|
static Popup |
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.
|
getBaseBillboard, getBounds, getCPtr, getGeometry, getRootGeometry, getRotation, setBaseBillboard, setGeometry, setPos, setRotation
attachTerrain, attachTerrain, autoNotifyElementChanged, equals, getCPtr, getId, getInternalElevation, getMetaData, getMetaDataElement, hashCode, hasInternalElevation, isVisible, notifyElementChanged, setId, setMetaData, setMetaDataElement, setVisible
public static long getCPtr(Popup obj)
public static Popup swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public Bitmap drawBitmap(ScreenPos anchorScreenPos, float screenWidth, float screenHeight, float dpToPX)
anchorScreenPos
- The screen position of the anchor point of this popup in pixels.screenWidth
- The current screen width in pixels.screenHeight
- The current screen height in pixels.dpToPX
- The value used for converting display independent pixels (dp) to pixels (px).public float getAnchorPointX()
public void setAnchorPointX(float anchorPointX)
anchorPointX
- The new horizontal anchor point for the popup. -1 means the left side,public float getAnchorPointY()
public void setAnchorPointY(float anchorPointY)
anchorPointY
- The vertical anchor point for the popup. -1 means the bottom,public void setAnchorPoint(float anchorPointX, float anchorPointY)
anchorPointX
- The new horizontal anchor point for the popup. -1 means the left side,anchorPointY
- The vertical anchor point for the popup. -1 means the bottom,public PopupStyle getStyle()
public void setStyle(PopupStyle style)
style
- The new style that defines what this popup looks like.public java.lang.String swigGetClassName()
swigGetClassName
在类中 Billboard
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 Billboard