# Class: RegInfo

## RegInfo()

#### new RegInfo()

Source:
  - RegInfo.js, line 11

### Methods

#### (async, static) Clone() → {Promise.<GeomInfo>}

克隆几何图形信息

Source:
  - RegInfo.js, line 418

##### Returns:

几何图形信息

Type
  Promise.<GeomInfo>

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

构造一个新的 RegInfo 对象

Source:
  - RegInfo.js, line 32

##### Returns:

Type
  Promise.<RegInfo>

#### (async, static) createObjByParam(ang, endClr, fillClr, fillMode, fullPatFlg, libId, outPenW, ovprnt, patCls, patId, patHeight, patWidth) → {Promise.<RegInfo>}

构造一个新的 RegInfo 对象

##### Parameters:

Name | Type | Description
--- | --- | ---
`ang` |  | 图案角度
`endClr` |  | 结束填充色
`fillClr` |  | 区域填充色
`fillMode` |  | 填充模式
`fullPatFlg` |  | 是否需要完整图案填充
`libId` |  | 库编号
`outPenW` |  | 图案笔宽
`ovprnt` |  | 覆盖方式
`patCls` |  | 图案颜色
`patId` |  | 符号编号
`patHeight` |  | 图案高
`patWidth` |  | 图案宽

Source:
  - RegInfo.js, line 60

##### Returns:

Type
  Promise.<RegInfo>

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

获取图案角度

Source:
  - RegInfo.js, line 282

##### Returns:

图案角度

Type
  Promise

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

获取结束填充色

Source:
  - RegInfo.js, line 200

##### Returns:

结束填充色

Type
  Promise.<Number>

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

获取区域填充色

Source:
  - RegInfo.js, line 172

##### Returns:

区域填充色

Type
  Promise.<Number>

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

获取填充模式

Source:
  - RegInfo.js, line 145

##### Returns:

填充模式

Type
  Promise

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

获取是否需要完整图案填充

Source:
  - RegInfo.js, line 364

##### Returns:

是否需要完整图案填充

Type
  Promise

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

设获取几何类型

Source:
  - RegInfo.js, line 391

##### Returns:

几何类型

Type
  Promise

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

获取库编号

Source:
  - RegInfo.js, line 78

##### Returns:

库编号

Type
  Promise

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

获取图案笔宽

Source:
  - RegInfo.js, line 337

##### Returns:

图案笔宽

Type
  Promise

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

获取覆盖方式

Source:
  - RegInfo.js, line 105

##### Returns:

覆盖方式

Type
  Promise

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

获取图案颜色

Source:
  - RegInfo.js, line 309

##### Returns:

图案颜色

Type
  Promise.<Number>

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

获取图案高

Source:
  - RegInfo.js, line 228

##### Returns:

图案高

Type
  Promise

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

获取符号编号

Source:
  - RegInfo.js, line 118

##### Returns:

符号编号

Type
  Promise

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

获取图案宽

Source:
  - RegInfo.js, line 255

##### Returns:

图案宽

Type
  Promise

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

设置图案角度

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 图案角度

Source:
  - RegInfo.js, line 296

##### Returns:

Type
  Promise.<void>

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

设置结束填充色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 结束填充色

Source:
  - RegInfo.js, line 215

##### Returns:

Type
  Promise.<void>

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

设置区域填充色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 区域填充色

Source:
  - RegInfo.js, line 187

##### Returns:

Type
  Promise.<void>

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

设置填充模式

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 填充模式

Source:
  - RegInfo.js, line 159

##### Returns:

Type
  Promise.<void>

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

设置是否需要完整图案填充

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 是否需要完整图案填充

Source:
  - RegInfo.js, line 378

##### Returns:

Type
  Promise.<void>

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

设置库编号

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 库编号

Source:
  - RegInfo.js, line 92

##### Returns:

Type
  Promise.<void>

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

设置图案笔宽

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 图案笔宽

Source:
  - RegInfo.js, line 351

##### Returns:

Type
  Promise.<void>

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

设置是否需要完整图案填充

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 是否需要完整图案填充

Source:
  - RegInfo.js, line 405

##### Returns:

Type
  Promise.<void>

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

设置图案颜色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 图案颜色

Source:
  - RegInfo.js, line 324

##### Returns:

Type
  Promise.<void>

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

设置图案高

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 图案高

Source:
  - RegInfo.js, line 242

##### Returns:

Type
  Promise.<void>

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

设置符号编号

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 符号编号

Source:
  - RegInfo.js, line 132

##### Returns:

Type
  Promise.<void>

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

设置图案宽

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 图案宽

Source:
  - RegInfo.js, line 269

##### Returns:

Type
  Promise.<void>