Draw curves command

绘制曲线命令

实现

构造函数

属性

访问器

方法

构造函数

属性

lineColor: any

Line color

线段颜色

lineWidth: number

(Optional) Line width

(可选)线段宽度

points: number[]

Collection of points for the curve segments, format: [controlX, controlY, anchorX, anchorY...]

线段的点集合,格式:[controlX, controlY, anchorX, anchorY...]

x: number

X-axis position to start drawing

开始绘制的 X 轴位置

y: number

Y-axis position to start drawing

开始绘制的 Y 轴位置

ID: string = "DrawCurves"

Identifier for the DrawCurvesCmd

绘制曲线命令的标识符

访问器

方法