new AnnotationView()
- Source:
Methods
(async, static) createObj() → {Promise.<AnnotationView>}
构造一个新的 AnnotationView 对象。
- Source:
Returns:
- Type
- Promise.<AnnotationView>
(async, static) getAnnotation() → {Promise.<Annotation>}
获取标记
- Source:
Returns:
标记
- Type
- Promise.<Annotation>
(async, static) setAnnotation(annotation) → {Promise.<void>}
设置标记
Parameters:
| Name | Type | Description |
|---|---|---|
annotation |
- Source:
Returns:
- Type
- Promise.<void>