public class LineStyle extends Style
swigCMemOwn
Constructor and Description |
---|
LineStyle(Color color,
Bitmap bitmap,
float clickWidth,
LineEndType lineEndType,
LineJointType lineJointType,
float stretchFactor,
float width)
Constructs a LineStyle object from various parameters.
|
LineStyle(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
delete() |
protected void |
finalize() |
Bitmap |
getBitmap()
Returns the bitmap of the line.
|
float |
getClickWidth()
Returns the width of the line used for click detection.
|
static long |
getCPtr(LineStyle obj) |
LineEndType |
getLineEndType()
Returns the end point type of the line.
|
LineJointType |
getLineJointType()
Returns the joint type of the line.
|
float |
getStretchFactor()
Returns the stretching factor of the line.
|
float |
getWidth()
Returns the width of the line.
|
static LineStyle |
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 LineStyle(long cPtr, boolean cMemoryOwn)
public LineStyle(Color color, Bitmap bitmap, float clickWidth, LineEndType lineEndType, LineJointType lineJointType, float stretchFactor, float width)
color
- The color for the line.bitmap
- The bitmap for the line.clickWidth
- The width of the line used for click detection.lineEndType
- The line's end point type.lineJointType
- The joint type for the line.stretchFactor
- The color for the line.width
- The width for the line.public static long getCPtr(LineStyle obj)
public static LineStyle swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
public Bitmap getBitmap()
public float getClickWidth()
public LineEndType getLineEndType()
public LineJointType getLineJointType()
public float getStretchFactor()
public float getWidth()
public java.lang.String swigGetClassName()
swigGetClassName
in class Style
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
in class Style