new TextAnnInfo()
- Source:
Methods
(async, static) createObj() → {Promise.<TextAnnInfo>}
构造一个新的 TextAnnInfo 对象
- Source:
Returns:
- Type
- Promise.<TextAnnInfo>
(async, static) getAngle() → {Promise}
获取文本显示字串角度
- Source:
Returns:
字串角度值
- Type
- Promise
(async, static) getAnnType() → {Promise}
几何注记类类型
- Source:
Returns:
几何注记类类型
- Type
- Promise
(async, static) getBackClr() → {Promise.<Number>}
获取文本覆盖的背景颜色
- Source:
Returns:
颜色号
- Type
- Promise.<Number>
(async, static) getBackExp() → {Promise}
获取文本显示范围扩展
- Source:
Returns:
扩展值
- Type
- Promise
(async, static) getChnt() → {Promise}
获取文本西文字体
- Source:
Returns:
西文字体
- Type
- Promise
(async, static) getColor() → {Promise.<Number>}
获取文本显示颜色
- Source:
Returns:
颜色号
- Type
- Promise.<Number>
(async, static) getFontAngle() → {Promise}
获取文本显示字角度
- Source:
Returns:
字角度值
- Type
- Promise
(async, static) getGeomType() → {Promise}
获取几何类型
- Source:
Returns:
几何类型
- Type
- Promise
(async, static) getHeight() → {Promise}
获取文本显示高度
- Source:
Returns:
高度值
- Type
- Promise
(async, static) getIfnt() → {Promise}
获取文本中文字体
- Source:
Returns:
中文字体
- Type
- Promise
(async, static) getIfnx() → {Promise}
获取文本的字形
- Source:
Returns:
字形
- Type
- Promise
(async, static) getIsFilled() → {Promise}
获取文本自动压背景颜色标志
- Source:
Returns:
自动压背景颜色返回true,否则返回false
- Type
- Promise
(async, static) getIsHzpl() → {Promise}
获取文本显示水平或垂直排列
- Source:
Returns:
水平排列返回true,垂直排列返回false
- Type
- Promise
(async, static) getIsOvprnt() → {Promise}
获取文本覆盖方式,表示透明/覆盖
- Source:
Returns:
透明/覆盖
- Type
- Promise
(async, static) getOffsetX() → {Promise}
获取文本显示x方向的偏移
- Source:
Returns:
偏移值
- Type
- Promise
(async, static) getOffsetY() → {Promise}
获取文本显示y方向的偏移
- Source:
Returns:
偏移值
- Type
- Promise
(async, static) getSpace() → {Promise}
获取文本显示间隔
- Source:
Returns:
间隔值
- Type
- Promise
(async, static) getWidth() → {Promise}
获取文本显示宽度
- Source:
Returns:
宽度值
- Type
- Promise
(async, static) setAngle(newVal) → {Promise.<void>}
设置文本显示字串角度
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
字串角度值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setBackClr(color) → {Promise.<void>}
设置文本覆盖的背景颜色
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 颜色号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setBackExp(newVal) → {Promise.<void>}
设置文本显示范围扩展
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
扩展值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setChnt(newVal) → {Promise.<void>}
设置文本西文字体
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
西文字体 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setColor(color) → {Promise.<void>}
设置文本显示颜色
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 颜色号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setFontAngle(newVal) → {Promise.<void>}
设置文本显示字角度
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
字角度值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setHeight(newVal) → {Promise.<void>}
设置文本显示高度
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
高度值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIfnt(newVal) → {Promise.<void>}
设置文本中文字体
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
中文字体 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIfnx(newVal) → {Promise.<void>}
设置文本的字形
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
字形 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIsFilled(newVal) → {Promise.<void>}
设置文本自动压背景颜色标志
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
自动压背景设置true,否则返回false |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIsHzpl(newVal) → {Promise.<void>}
设置文本水平或垂直排列
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
水平排列传true,垂直排列传false |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setIsOvprnt(newVal) → {Promise.<void>}
设置文本覆盖方式,表示透明/覆盖
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
透明/覆盖 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOffsetX(newVal) → {Promise.<void>}
设置文本显示x方向的偏移
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
偏移值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOffsetY(newVal) → {Promise.<void>}
设置文本显示y方向的偏移
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
偏移值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setSpace(newVal) → {Promise.<void>}
设置文本显示间隔
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
间隔值 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setWidth(newVal) → {Promise.<void>}
设置文本显示宽度
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
宽度值 |
- Source:
Returns:
- Type
- Promise.<void>