new DrawPoint()
获取坐标点
Methods
-
<static> start(cb)
-
开始动态获取坐标点
Parameters:
Name Type Description cbfunction 回调函数 Example
draw.start((err,position)=>{ })
| Name | Type | Description |
|---|---|---|
cb |
function | 回调函数 |
draw.start((err,position)=>{
})