# Class: LinInfo

## LinInfo()

#### new LinInfo()

Source:
  - LinInfo.js, line 11

### Methods

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

克隆几何图形信息

Source:
  - LinInfo.js, line 502

##### Returns:

几何图形信息

Type
  Promise.<GeomInfo>

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

构造一个新的 LinInfo 对象

Source:
  - LinInfo.js, line 32

##### 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:
  - LinInfo.js, line 63

##### Returns:

Type
  Promise.<LinInfo>

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

获取线型调整方法

Source:
  - LinInfo.js, line 367

##### Returns:

线型调整方法

Type
  Promise

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

获取几何类型

Source:
  - LinInfo.js, line 475

##### Returns:

几何类型

Type
  Promise

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

获取线头类型

Source:
  - LinInfo.js, line 313

##### Returns:

线头类型

Type
  Promise

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

获取拐角类型

Source:
  - LinInfo.js, line 340

##### Returns:

拐角类型

Type
  Promise

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

获取库编号

Source:
  - LinInfo.js, line 81

##### Returns:

库编号

Type
  Promise

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

获取线型号

Source:
  - LinInfo.js, line 121

##### Returns:

线型号

Type
  Promise

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

获取线型生成方法

Source:
  - LinInfo.js, line 394

##### Returns:

线型生成方法

Type
  Promise

#### (async, static) getOutClr1() → {Number}

获取可变颜色1

Source:
  - LinInfo.js, line 229

##### Returns:

可变颜色1

Type
  Number

#### (async, static) getOutClr2() → {Number}

获取可变颜色2

Source:
  - LinInfo.js, line 257

##### Returns:

可变颜色2

Type
  Number

#### (async, static) getOutClr3() → {Number}

获取可变颜色3

Source:
  - LinInfo.js, line 285

##### Returns:

可变颜色3

Type
  Number

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

获取外部笔宽1

Source:
  - LinInfo.js, line 148

##### Returns:

外部笔宽1

Type
  Promise

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

获取外部笔宽2

Source:
  - LinInfo.js, line 175

##### Returns:

外部笔宽2

Type
  Promise

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

获取外部笔宽3

Source:
  - LinInfo.js, line 202

##### Returns:

外部笔宽3

Type
  Promise

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

获取覆盖方式

Source:
  - LinInfo.js, line 108

##### Returns:

覆盖方式

Type
  Promise

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

获取X系数

Source:
  - LinInfo.js, line 421

##### Returns:

X系数

Type
  Promise

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

获取Y系数

Source:
  - LinInfo.js, line 448

##### Returns:

Y系数

Type
  Promise

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

设置线型调整方法

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 线型调整方法

Source:
  - LinInfo.js, line 381

##### Returns:

Type
  Promise.<void>

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

设置线头类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 线头类型

Source:
  - LinInfo.js, line 327

##### Returns:

Type
  Promise.<void>

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

设置拐角类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 拐角类型

Source:
  - LinInfo.js, line 354

##### Returns:

Type
  Promise.<void>

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

设置库编号

##### Parameters:

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

Source:
  - LinInfo.js, line 95

##### Returns:

Type
  Promise.<void>

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

设置线型号

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 线型号

Source:
  - LinInfo.js, line 135

##### Returns:

Type
  Promise.<void>

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

设置线型生成方法

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 线型生成方法

Source:
  - LinInfo.js, line 408

##### Returns:

Type
  Promise.<void>

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

设置可变颜色1

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 可变颜色1

Source:
  - LinInfo.js, line 244

##### Returns:

Type
  Promise.<void>

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

设置可变颜色2

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 可变颜色2

Source:
  - LinInfo.js, line 272

##### Returns:

Type
  Promise.<void>

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

设置可变颜色3

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | Number | 可变颜色3

Source:
  - LinInfo.js, line 300

##### Returns:

Type
  Promise.<void>

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

设置外部笔宽1

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 外部笔宽1

Source:
  - LinInfo.js, line 162

##### Returns:

Type
  Promise.<void>

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

设置外部笔宽2

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 外部笔宽2

Source:
  - LinInfo.js, line 189

##### Returns:

Type
  Promise.<void>

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

设置外部笔宽3

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | 外部笔宽3

Source:
  - LinInfo.js, line 216

##### Returns:

Type
  Promise.<void>

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

设置X系数

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | X系数

Source:
  - LinInfo.js, line 435

##### Returns:

Type
  Promise.<void>

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

设置Y系数

##### Parameters:

Name | Type | Description
--- | --- | ---
`newVal` |  | Y系数

Source:
  - LinInfo.js, line 462

##### Returns:

Type
  Promise.<void>