DrawPolygon

手机端画面

new YS.DrawPolygon(ys)

以视图中心画面
Name Type Description
ys YouScene YouScene对象
Implements:

Methods

addPoint()Boolean

添加一个控制点
Returns:
是否添加成功
Implements:

destroy()

销毁
Implements:

isDestroyed()

绘图是否销毁(销毁则返回true, 未销毁则返回false)
Implements:

removePoint()Boolean

删除最后一个控制点
Returns:
是否删除成功
Implements:

start()

开始画面
Implements:

stop()

结速画面
Implements: