new RegInfo()
- Source:
Methods
(async, static) Clone() → {Promise.<GeomInfo>}
克隆几何图形信息
- Source:
Returns:
几何图形信息
- Type
- Promise.<GeomInfo>
(async, static) createObj() → {Promise.<RegInfo>}
构造一个新的 RegInfo 对象
- Source:
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:
Returns:
- Type
- Promise.<RegInfo>
(async, static) getAngle() → {Promise}
获取图案角度
- Source:
Returns:
图案角度
- Type
- Promise
(async, static) getEndClr() → {Promise.<Number>}
获取结束填充色
- Source:
Returns:
结束填充色
- Type
- Promise.<Number>
(async, static) getFillClr() → {Promise.<Number>}
获取区域填充色
- Source:
Returns:
区域填充色
- Type
- Promise.<Number>
(async, static) getFillMode() → {Promise}
获取填充模式
- Source:
Returns:
填充模式
- Type
- Promise
(async, static) getFullPatFlg() → {Promise}
获取是否需要完整图案填充
- Source:
Returns:
是否需要完整图案填充
- Type
- Promise
(async, static) getGeomType() → {Promise}
设获取几何类型
- Source:
Returns:
几何类型
- Type
- Promise
(async, static) getLibID() → {Promise}
获取库编号
- Source:
Returns:
库编号
- Type
- Promise
(async, static) getOutPenW() → {Promise}
获取图案笔宽
- Source:
Returns:
图案笔宽
- Type
- Promise
(async, static) getOvprnt() → {Promise}
获取覆盖方式
- Source:
Returns:
覆盖方式
- Type
- Promise
(async, static) getPatClr() → {Promise.<Number>}
获取图案颜色
- Source:
Returns:
图案颜色
- Type
- Promise.<Number>
(async, static) getPatHeight() → {Promise}
获取图案高
- Source:
Returns:
图案高
- Type
- Promise
(async, static) getPatID() → {Promise}
获取符号编号
- Source:
Returns:
符号编号
- Type
- Promise
(async, static) getPatWidth() → {Promise}
获取图案宽
- Source:
Returns:
图案宽
- Type
- Promise
(async, static) setAngle(newVal) → {Promise.<void>}
设置图案角度
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
图案角度 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setEndClr(color) → {Promise.<void>}
设置结束填充色
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 结束填充色 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setFillClr(color) → {Promise.<void>}
设置区域填充色
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 区域填充色 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setFillMode(newVal) → {Promise.<void>}
设置填充模式
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
填充模式 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setFullPatFlg(newVal) → {Promise.<void>}
设置是否需要完整图案填充
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
是否需要完整图案填充 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setLibID(newVal) → {Promise.<void>}
设置库编号
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
库编号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutPenW(newVal) → {Promise.<void>}
设置图案笔宽
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
图案笔宽 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOvprnt(newVal) → {Promise.<void>}
设置是否需要完整图案填充
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
是否需要完整图案填充 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setPatClr(color) → {Promise.<void>}
设置图案颜色
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 图案颜色 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setPatHeight(newVal) → {Promise.<void>}
设置图案高
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
图案高 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setPatID(newVal) → {Promise.<void>}
设置符号编号
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
符号编号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setPatWidth(newVal) → {Promise.<void>}
设置图案宽
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
图案宽 |
- Source:
Returns:
- Type
- Promise.<void>