new LinInfo()
- Source:
Methods
(async, static) Clone() → {Promise.<GeomInfo>}
克隆几何图形信息
- Source:
Returns:
几何图形信息
- Type
- Promise.<GeomInfo>
(async, static) createObj() → {Promise.<LinInfo>}
构造一个新的 LinInfo 对象
- Source:
Returns:
- Type
- Promise.<LinInfo>
(async, static) createObjByParam(adjustFlg, headType, joinType, libId, linStyId, makeMethod, outClr1, outClr2, outClr3, outPenW1, outPenW2, outPenW3, ovprnt, xScale, yScale) → {Promise.<LinInfo>}
构造一个新的 LinInfo 对象
Parameters:
| Name | Type | Description |
|---|---|---|
adjustFlg |
线型调整方法 | |
headType |
线头类型 | |
joinType |
拐角类型 | |
libId |
库编号 | |
linStyId |
线型号 | |
makeMethod |
线型生成方法 | |
outClr1 |
可变颜色1 | |
outClr2 |
可变颜色2 | |
outClr3 |
可变颜色3 | |
outPenW1 |
外部笔宽1 | |
outPenW2 |
外部笔宽2 | |
outPenW3 |
外部笔宽3 | |
ovprnt |
覆盖方式 | |
xScale |
X系数 | |
yScale |
Y系数 |
- Source:
Returns:
- Type
- Promise.<LinInfo>
(async, static) getAdjustFlg() → {Promise}
获取线型调整方法
- Source:
Returns:
线型调整方法
- Type
- Promise
(async, static) getGeomType() → {Promise}
获取几何类型
- Source:
Returns:
几何类型
- Type
- Promise
(async, static) getHeadType() → {Promise}
获取线头类型
- Source:
Returns:
线头类型
- Type
- Promise
(async, static) getJoinType() → {Promise}
获取拐角类型
- Source:
Returns:
拐角类型
- Type
- Promise
(async, static) getLibID() → {Promise}
获取库编号
- Source:
Returns:
库编号
- Type
- Promise
(async, static) getLinStyID() → {Promise}
获取线型号
- Source:
Returns:
线型号
- Type
- Promise
(async, static) getMakeMethod() → {Promise}
获取线型生成方法
- Source:
Returns:
线型生成方法
- Type
- Promise
(async, static) getOutClr1() → {Number}
获取可变颜色1
- Source:
Returns:
可变颜色1
- Type
- Number
(async, static) getOutClr2() → {Number}
获取可变颜色2
- Source:
Returns:
可变颜色2
- Type
- Number
(async, static) getOutClr3() → {Number}
获取可变颜色3
- Source:
Returns:
可变颜色3
- Type
- 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) getXScale() → {Promise}
获取X系数
- Source:
Returns:
X系数
- Type
- Promise
(async, static) getYScale() → {Promise}
获取Y系数
- Source:
Returns:
Y系数
- Type
- Promise
(async, static) setAdjustFlg(newVal) → {Promise.<void>}
设置线型调整方法
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
线型调整方法 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setHeadType(newVal) → {Promise.<void>}
设置线头类型
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
线头类型 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setJoinType(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) setLinStyID(newVal) → {Promise.<void>}
设置线型号
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
线型号 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setMakeMethod(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) setXScale(newVal) → {Promise.<void>}
设置X系数
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
X系数 |
- Source:
Returns:
- Type
- Promise.<void>
(async, static) setYScale(newVal) → {Promise.<void>}
设置Y系数
Parameters:
| Name | Type | Description |
|---|---|---|
newVal |
Y系数 |
- Source:
Returns:
- Type
- Promise.<void>