Methods
(async, static) getName() → {String}
获取名称
Returns:
- Type
- String
(async, static) getType() → {Number}
获取标注类型
Returns:
标注类型(int范围的Number;例:256-LabelType.SimpleLabel)
- Type
- Number
(async, static) getVisible() → {boolean}
获取可见性
Returns:
- Type
- boolean
(async, static) setName(name) → {Promise.<Void>}
设置标注名称
Parameters:
| Name | Type | Description |
|---|---|---|
name |
String | 名称 |
Returns:
- Type
- Promise.<Void>
(async, static) setVisible(visible) → {Promise.<Void>}
设置可见性
Parameters:
| Name | Type | Description |
|---|---|---|
visible |
boolean | 可见性 |
Returns:
- Type
- Promise.<Void>