DrawPoint

手机端画点

new YS.DrawPoint(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: