public class MarkerStyleBuilder extends BillboardStyleBuilder
swigCMemOwn
Constructor and Description |
---|
MarkerStyleBuilder()
Constructs a MarkerStyleBuilder object with all parameters set to defaults.
|
MarkerStyleBuilder(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
MarkerStyle |
buildStyle()
Builds a new instance of the MarkerStyle object using previously set parameters.
|
void |
delete() |
protected void |
finalize() |
float |
getAnchorPointX()
Returns the horizontal anchor point of the marker.
|
float |
getAnchorPointY()
Returns the vertical anchor point of the marker.
|
Bitmap |
getBitmap()
Returns the bitmap of the marker.
|
static long |
getCPtr(MarkerStyleBuilder obj) |
BillboardOrientation |
getOrientationMode()
Returns the orientation mode of the marker.
|
BillboardScaling |
getScalingMode()
Returns the scaling mode of the marker.
|
float |
getSize()
Returns the size of the marker.
|
void |
setAnchorPoint(float anchorPointX,
float anchorPointY)
Sets the anchor point for the marker.
|
void |
setAnchorPointX(float anchorPointX)
Sets the horizontal anchor point of the marker.
|
void |
setAnchorPointY(float anchorPointY)
Sets the vertical anchor point of the marker.
|
void |
setBitmap(Bitmap bitmap)
Sets the bitmap that will be used for drawing the marker.
|
void |
setOrientationMode(BillboardOrientation orientationMode)
Sets the orientation mode for the marker.
|
void |
setScalingMode(BillboardScaling scalingMode)
Sets the scaling mode for the marker.
|
void |
setSize(float size)
Sets the size for the marker.
|
static MarkerStyleBuilder |
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.
|
getAttachAnchorPointX, getAttachAnchorPointY, getCPtr, getHorizontalOffset, getPlacementPriority, getVerticalOffset, isCausesOverlap, isHideIfOverlapped, isScaleWithDPI, setAttachAnchorPoint, setAttachAnchorPointX, setAttachAnchorPointY, setCausesOverlap, setHideIfOverlapped, setHorizontalOffset, setPlacementPriority, setScaleWithDPI, setVerticalOffset
public MarkerStyleBuilder(long cPtr, boolean cMemoryOwn)
public MarkerStyleBuilder()
public static long getCPtr(MarkerStyleBuilder obj)
protected void finalize()
finalize
in class BillboardStyleBuilder
public void delete()
delete
in class BillboardStyleBuilder
public static MarkerStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public float getAnchorPointX()
public void setAnchorPointX(float anchorPointX)
anchorPointX
- The new horizontal anchor point for the marker. -1 means the left side,public float getAnchorPointY()
public void setAnchorPointY(float anchorPointY)
anchorPointY
- The vertical anchor point for the marker. -1 means the bottom,public void setAnchorPoint(float anchorPointX, float anchorPointY)
anchorPointX
- The new horizontal anchor point for the marker. -1 means the left side,anchorPointY
- The vertical anchor point for the marker. -1 means the bottom,public Bitmap getBitmap()
public void setBitmap(Bitmap bitmap)
bitmap
- The new bitmap for the marker.public BillboardOrientation getOrientationMode()
public void setOrientationMode(BillboardOrientation orientationMode)
public BillboardScaling getScalingMode()
public void setScalingMode(BillboardScaling scalingMode)
public float getSize()
public void setSize(float size)
size
- The new marker size.public MarkerStyle buildStyle()
public java.lang.String swigGetClassName()
swigGetClassName
in class BillboardStyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class BillboardStyleBuilder