public class LineStyle extends Style
swigCMemOwn
构造器和说明 |
---|
LineStyle(Color color,
Bitmap bitmap,
float clickWidth,
LineEndType lineEndType,
LineJoinType lineJoinType,
float stretchFactor,
float width)
Constructs a LineStyle object from various parameters.
|
LineStyle(Color color,
Bitmap bitmap,
float clickWidth,
LineEndType lineEndType,
LineJoinType lineJoinType,
float stretchFactor,
float width,
FloatVector dasharray) |
LineStyle(long cPtr,
boolean cMemoryOwn) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete() |
protected void |
finalize() |
Bitmap |
getBitmap()
返回线的
|
float |
getClickWidth()
获取线的点击检测宽度
|
static long |
getCPtr(LineStyle obj) |
FloatVector |
getLineDasharray()
获取线的虚线数组
|
LineEndType |
getLineEndType()
获取线的端点类型
|
LineJoinType |
getLineJoinType()
获取线的接头类型
|
float |
getStretchFactor()
Returns the stretching factor of the line.
|
float |
getWidth()
获取线的宽度
|
void |
setLineDasharray(FloatVector arg0)
设置线的虚线数组
|
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, LineJoinType lineJoinType, float stretchFactor, float width)
color
- 颜色bitmap
- 线的图片clickWidth
- 点击检测宽度lineEndType
- 端点类型lineJoinType
- 接头类型stretchFactor
- 拉伸系数width
- 宽度public LineStyle(Color color, Bitmap bitmap, float clickWidth, LineEndType lineEndType, LineJoinType lineJoinType, float stretchFactor, float width, FloatVector dasharray)
color
- 颜色bitmap
- 线的图片clickWidth
- 点击检测宽度lineEndType
- 端点类型lineJoinType
- 接头类型stretchFactor
- 拉伸系数width
- 宽度dasharray
- 虚线数组public static long getCPtr(LineStyle obj)
public static LineStyle swigCreatePolymorphicInstance(long cPtr, boolean cMemoryOwn)
cPtr
- The native pointer of the instance.cMemoryOwn
- The ownership flag.public Bitmap getBitmap()
public float getClickWidth()
public LineEndType getLineEndType()
public LineJoinType getLineJoinType()
public float getStretchFactor()
public float getWidth()
public FloatVector getLineDasharray()
public void setLineDasharray(FloatVector arg0)
public java.lang.String swigGetClassName()
swigGetClassName
在类中 Style
public java.lang.Object swigGetDirectorObject()
swigGetDirectorObject
在类中 Style