new PntInfo()
- Source:
Methods
(async, static) Clone() → {Promise.<GeomInfo>}
克隆几何图形信息
- Source:
Returns:
几何图形信息
- Type
- Promise.<GeomInfo>
(async, static) createObj() → {Promise.<PntInfo>}
构造一个新的 PntInfo 对象
- Source:
Returns:
- Type
- Promise.<PntInfo>
(async, static) createObjByParam(ang, backClr, backExp, fillFlg, height, libId, outClr1, outClr2, outClr3, outPenW1, outPenW2, outPenW3, ovprnt, symId, width) → {Promise.<PntInfo>}
构造一个新的 PntInfo 对象
Parameters:
| Name | Type | Description |
|---|---|---|
ang |
角度 | |
backClr |
覆盖的背景颜色 | |
backExp |
范围扩展 | |
fillFlg |
自动压背景颜色标志 | |
height |
高度 | |
libId |
库编号 | |
outClr1 |
可变颜色1 | |
outClr2 |
可变颜色2 | |
outClr3 |
可变颜色3 | |
outPenW1 |
外部笔宽1 | |
outPenW2 |
外部笔宽2 | |
outPenW3 |
外部笔宽3 | |
ovprnt |
覆盖方式 | |
symId |
符号编号 | |
width |
宽度 |
- Source:
Returns:
- Type
- Promise.<PntInfo>
(async, static) getAngle() → {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) getFillFlg() → {Promise}
获取自动压背景颜色标志
- Source:
Returns:
自动压背景颜色标志
- Type
- Promise
(async, static) getGeomType() → {Promise}
获取几何类型
- Source:
Returns:
几何类型
- Type
- Promise
(async, static) getHeight() → {Promise}
获取高度
- Source:
Returns:
高度
- Type
- Promise
(async, static) getLibID() → {Promise}
获取库编号
- Source:
Returns:
库编号
- Type
- Promise
(async, static) getOutClr1() → {Promise.<Number>}
获取可变颜色1
- Source:
Returns:
可变颜色1
- Type
- Promise.<Number>
(async, static) getOutClr2() → {Promise.<Number>}
获取可变颜色2
- Source:
Returns:
可变颜色2
- Type
- Promise.<Number>
(async, static) getOutClr3() → {Promise.<Number>}
获取可变颜色3
- Source:
Returns:
可变颜色3
- Type
- Promise.<Number>
(async, static) getOutPenW1() → {Promise}
获取外部笔宽1
- Source:
Returns:
外部笔宽1
- Type
- Promise
(async, static) getOutPenW2() → {Promise}
获取外部笔宽2
- Source:
Returns:
外部笔宽2
- Type
- Promise
(async, static) getOutPenW3() → {Promise}
获取外部笔宽3
- Source:
Returns:
外部笔宽3
- Type
- Promise
(async, static) getOvprnt() → {Promise}
获取覆盖方式
- Source:
Returns:
覆盖方式
- Type
- Promise
(async, static) getSymID() → {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) setFillFlg(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) setLibID(newVal) → {Promise.<void>}
设置库编号
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
库编号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutClr1(color) → {Promise.<void>}
设置可变颜色1
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 可变颜色1 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutClr2(color) → {Promise.<void>}
设置可变颜色2
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 可变颜色2 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutClr3(color) → {Promise.<void>}
设置可变颜色3
Parameters:
| Name | Type | Description |
|---|---|---|
color |
Number | 可变颜色3 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutPenW1(newVal) → {Promise.<void>}
设置外部笔宽1
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
外部笔宽1 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutPenW2(newVal) → {Promise.<void>}
设置外部笔宽2
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
外部笔宽2 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOutPenW3(newVal) → {Promise.<void>}
设置外部笔宽3
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
外部笔宽3 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setOvprnt(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) setSymID(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>