# Class: TextAnnInfo

## TextAnnInfo()

#### new TextAnnInfo()

Source:
  - TextAnnInfo.js, line 11

### Methods

#### (async, static) createObj() → {Promise.<TextAnnInfo>}

构造一个新的 TextAnnInfo 对象

Source:
  - TextAnnInfo.js, line 32

##### Returns:

Type
  Promise.<TextAnnInfo>

#### (async, static) getAngle() → {Promise}

获取文本显示字串角度

Source:
  - TextAnnInfo.js, line 157

##### Returns:

字串角度值

Type
  Promise

#### (async, static) getAnnType() → {Promise}

几何注记类类型

Source:
  - TextAnnInfo.js, line 483

##### Returns:

几何注记类类型

Type
  Promise

#### (async, static) getBackClr() → {Promise.<Number>}

获取文本覆盖的背景颜色

Source:
  - TextAnnInfo.js, line 401

##### Returns:

颜色号

Type
  Promise.<Number>

#### (async, static) getBackExp() → {Promise}

获取文本显示范围扩展

Source:
  - TextAnnInfo.js, line 374

##### Returns:

扩展值

Type
  Promise

#### (async, static) getChnt() → {Promise}

获取文本西文字体

Source:
  - TextAnnInfo.js, line 211

##### Returns:

西文字体

Type
  Promise

#### (async, static) getColor() → {Promise.<Number>}

获取文本显示颜色

Source:
  - TextAnnInfo.js, line 292

##### Returns:

颜色号

Type
  Promise.<Number>

#### (async, static) getFontAngle() → {Promise}

获取文本显示字角度

Source:
  - TextAnnInfo.js, line 130

##### Returns:

字角度值

Type
  Promise

#### (async, static) getGeomType() → {Promise}

获取几何类型

Source:
  - TextAnnInfo.js, line 496

##### Returns:

几何类型

Type
  Promise

#### (async, static) getHeight() → {Promise}

获取文本显示高度

Source:
  - TextAnnInfo.js, line 49

##### Returns:

高度值

Type
  Promise

#### (async, static) getIfnt() → {Promise}

获取文本中文字体

Source:
  - TextAnnInfo.js, line 184

##### Returns:

中文字体

Type
  Promise

#### (async, static) getIfnx() → {Promise}

获取文本的字形

Source:
  - TextAnnInfo.js, line 238

##### Returns:

字形

Type
  Promise

#### (async, static) getIsFilled() → {Promise}

获取文本自动压背景颜色标志

Source:
  - TextAnnInfo.js, line 347

##### Returns:

自动压背景颜色返回true，否则返回false

Type
  Promise

#### (async, static) getIsHzpl() → {Promise}

获取文本显示水平或垂直排列

Source:
  - TextAnnInfo.js, line 265

##### Returns:

水平排列返回true，垂直排列返回false

Type
  Promise

#### (async, static) getIsOvprnt() → {Promise}

获取文本覆盖方式,表示透明/覆盖

Source:
  - TextAnnInfo.js, line 320

##### Returns:

透明/覆盖

Type
  Promise

#### (async, static) getOffsetX() → {Promise}

获取文本显示x方向的偏移

Source:
  - TextAnnInfo.js, line 429

##### Returns:

偏移值

Type
  Promise

#### (async, static) getOffsetY() → {Promise}

获取文本显示y方向的偏移

Source:
  - TextAnnInfo.js, line 456

##### Returns:

偏移值

Type
  Promise

#### (async, static) getSpace() → {Promise}

获取文本显示间隔

Source:
  - TextAnnInfo.js, line 103

##### Returns:

间隔值

Type
  Promise

#### (async, static) getWidth() → {Promise}

获取文本显示宽度

Source:
  - TextAnnInfo.js, line 76

##### Returns:

宽度值

Type
  Promise

#### (async, static) setAngle(newVal) → {Promise.<void>}

设置文本显示字串角度

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 字串角度值

Source:
  - TextAnnInfo.js, line 171

##### Returns:

Type
  Promise.<void>

#### (async, static) setBackClr(color) → {Promise.<void>}

设置文本覆盖的背景颜色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 颜色号

Source:
  - TextAnnInfo.js, line 416

##### Returns:

Type
  Promise.<void>

#### (async, static) setBackExp(newVal) → {Promise.<void>}

设置文本显示范围扩展

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 扩展值

Source:
  - TextAnnInfo.js, line 388

##### Returns:

Type
  Promise.<void>

#### (async, static) setChnt(newVal) → {Promise.<void>}

设置文本西文字体

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 西文字体

Source:
  - TextAnnInfo.js, line 225

##### Returns:

Type
  Promise.<void>

#### (async, static) setColor(color) → {Promise.<void>}

设置文本显示颜色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 颜色号

Source:
  - TextAnnInfo.js, line 307

##### Returns:

Type
  Promise.<void>

#### (async, static) setFontAngle(newVal) → {Promise.<void>}

设置文本显示字角度

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 字角度值

Source:
  - TextAnnInfo.js, line 144

##### Returns:

Type
  Promise.<void>

#### (async, static) setHeight(newVal) → {Promise.<void>}

设置文本显示高度

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 高度值

Source:
  - TextAnnInfo.js, line 63

##### Returns:

Type
  Promise.<void>

#### (async, static) setIfnt(newVal) → {Promise.<void>}

设置文本中文字体

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 中文字体

Source:
  - TextAnnInfo.js, line 198

##### Returns:

Type
  Promise.<void>

#### (async, static) setIfnx(newVal) → {Promise.<void>}

设置文本的字形

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 字形

Source:
  - TextAnnInfo.js, line 252

##### Returns:

Type
  Promise.<void>

#### (async, static) setIsFilled(newVal) → {Promise.<void>}

设置文本自动压背景颜色标志

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 自动压背景设置true，否则返回false

Source:
  - TextAnnInfo.js, line 361

##### Returns:

Type
  Promise.<void>

#### (async, static) setIsHzpl(newVal) → {Promise.<void>}

设置文本水平或垂直排列

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 水平排列传true，垂直排列传false

Source:
  - TextAnnInfo.js, line 279

##### Returns:

Type
  Promise.<void>

#### (async, static) setIsOvprnt(newVal) → {Promise.<void>}

设置文本覆盖方式,表示透明/覆盖

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 透明/覆盖

Source:
  - TextAnnInfo.js, line 334

##### Returns:

Type
  Promise.<void>

#### (async, static) setOffsetX(newVal) → {Promise.<void>}

设置文本显示x方向的偏移

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 偏移值

Source:
  - TextAnnInfo.js, line 443

##### Returns:

Type
  Promise.<void>

#### (async, static) setOffsetY(newVal) → {Promise.<void>}

设置文本显示y方向的偏移

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 偏移值

Source:
  - TextAnnInfo.js, line 470

##### Returns:

Type
  Promise.<void>

#### (async, static) setSpace(newVal) → {Promise.<void>}

设置文本显示间隔

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 间隔值

Source:
  - TextAnnInfo.js, line 117

##### Returns:

Type
  Promise.<void>

#### (async, static) setWidth(newVal) → {Promise.<void>}

设置文本显示宽度

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 宽度值

Source:
  - TextAnnInfo.js, line 90

##### Returns:

Type
  Promise.<void>