new TextAnno()
- Source:
Methods
(async, static) createObj() → {Promise.<TextAnno>}
构造一个新的 TextAnno 对象
- Source:
Returns:
- Type
- Promise.<TextAnno>
(async, static) getAnnType() → {Promise}
获取注记类型
- Source:
Returns:
注记类型
- Type
- Promise
(async, static) getText() → {Promise}
获取文本注记文本内容
- Source:
Returns:
文本内容
- Type
- Promise
(async, static) getTextAnnInfo() → {Promise.<TextAnnInfo>}
获取文本注记文本格式化信息
- Source:
Returns:
文本格式化信息
- Type
- Promise.<TextAnnInfo>
(async, static) getType() → {Promise}
获取几何对象类型
- Source:
Returns:
几何对象类型
- Type
- Promise
(async, static) isEmpty() → {Promise}
判断几何注记是否为空
- Source:
Returns:
为空返回true,不为空返回false
- Type
- Promise
(async, static) setText(text) → {Promise.<void>}
设置文本注记文本内容
Parameters:
| Name | Type | Description |
|---|---|---|
text |
文本内容 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setTextAnnInfo(textInfo) → {Promise.<void>}
设置文本注记文本格式化信息
Parameters:
| Name | Type | Description |
|---|---|---|
textInfo |
文本格式化信息 |
- Source:
Returns:
- Type
- Promise.<void>