Constructor
new AnnotationPlugin()
构造函数
Methods
deserialize(data)
反序列化标注数据
Parameters:
Name | Type | Description |
---|---|---|
data |
object |
serialize()
序列化标注数据
setMode(mode, others)
设置当前标绘模式
Parameters:
Name | Type | Description |
---|---|---|
mode |
* | |
others |
* |
start(canDraw)
激活标注状态
Parameters:
Name | Type | Default | Description |
---|---|---|---|
canDraw |
Boolean | true | 是否能标记 |
stop()
停止标注