public class PointStyleBuilder extends StyleBuilder
swigCMemOwn
Constructor and Description |
---|
PointStyleBuilder()
Constructs a PointStyleBuilder object with all parameters set to defaults.
|
PointStyleBuilder(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
PointStyle |
buildStyle()
Builds a new instance of the PointStyle object using previously set parameters.
|
void |
delete() |
protected void |
finalize() |
Bitmap |
getBitmap()
Returns the bitmap of the point.
|
float |
getClickSize()
Returns the size of the point used for click detection.
|
static long |
getCPtr(PointStyleBuilder obj) |
float |
getSize()
Returns the size of the point.
|
void |
setBitmap(Bitmap bitmap)
Sets the bitmap that will be used for drawing the point.
|
void |
setClickSize(float size)
Sets the size for the point that will be used for click detection.
Units are screen density independent pixels (DP or DIP). |
void |
setSize(float size)
Sets the size for the point in screen density independent pixels (DP or DIP).
|
static PointStyleBuilder |
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.
|
public PointStyleBuilder(long cPtr, boolean cMemoryOwn)
public PointStyleBuilder()
public static long getCPtr(PointStyleBuilder obj)
protected void finalize()
finalize
in class StyleBuilder
public void delete()
delete
in class StyleBuilder
public static PointStyleBuilder swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public Bitmap getBitmap()
public void setBitmap(Bitmap bitmap)
bitmap
- The new bitmap for the point.public float getClickSize()
public void setClickSize(float size)
size
- The new point size in dp.public float getSize()
public void setSize(float size)
size
- The new point size in dp.public PointStyle buildStyle()
public java.lang.String swigGetClassName()
swigGetClassName
in class StyleBuilder
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class StyleBuilder