# Class: GraphicStippleLine

## GraphicStippleLine()

#### new GraphicStippleLine()

Source:
  - GraphicStippleLine.js, line 11

### Methods

#### (async, static) createObj(startPoint, endPoint) → {Promise.<GraphicStippleLine>}

构造一个新的 GraphicStippleLine 对象。

##### Parameters:

Name | Type | Description
--- | --- | ---
`startPoint` | Dot | 起点
`endPoint` | Dot | 终点

Source:
  - GraphicStippleLine.js, line 34

##### Returns:

Type
  Promise.<GraphicStippleLine>

#### (async, static) getEndPoint() → {Promise.<Dot>}

获取终点的坐标点

Source:
  - GraphicStippleLine.js, line 162

##### Returns:

终点的坐标点

Type
  Promise.<Dot>

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

获取虚线间隔长度

Source:
  - GraphicStippleLine.js, line 221

##### Returns:

虚线间隔长度 (int类型的number)

Type
  Number

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

获取线长度

Source:
  - GraphicStippleLine.js, line 242

##### Returns:

线长度 (Double类型的number)

Type
  Number

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

获取线的宽度

Source:
  - GraphicStippleLine.js, line 183

##### Returns:

线的宽度 (Double类型的number)

Type
  Number

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

获取虚线长度

Source:
  - GraphicStippleLine.js, line 202

##### Returns:

虚线长度 (int类型的number)

Type
  Number

#### (async, static) getStartPoint() → {Promise.<Dot>}

获取起点的坐标点

Source:
  - GraphicStippleLine.js, line 141

##### Returns:

起点的坐标点

Type
  Promise.<Dot>

#### (async, static) setEndPoint(point) → {Promise.<void>}

设置终点

##### Parameters:

Name | Type | Description
--- | --- | ---
`point` | Dot | 终点

Source:
  - GraphicStippleLine.js, line 69

##### Returns:

Type
  Promise.<void>

#### (async, static) setIntervalLength(len) → {Promise.<void>}

设置虚线间隔长度

##### Parameters:

Name | Type | Description
--- | --- | ---
`len` | Number | 虚线间隔长度 (int类型的Number)

Source:
  - GraphicStippleLine.js, line 124

##### Returns:

Type
  Promise.<void>

#### (async, static) setLineWidth(width) → {Promise.<void>}

设置线宽

##### Parameters:

Name | Type | Description
--- | --- | ---
`width` | Number | 线宽 (Double类型的number)

Source:
  - GraphicStippleLine.js, line 87

##### Returns:

Type
  Promise.<void>

#### (async, static) setSegLength(len) → {Promise.<void>}

设置虚线段长度

##### Parameters:

Name | Type | Description
--- | --- | ---
`len` | Number | 虚线段长度 (int类型的Number)

Source:
  - GraphicStippleLine.js, line 105

##### Returns:

Type
  Promise.<void>

#### (async, static) setStartPoint(point) → {Promise.<void>}

设置起点

##### Parameters:

Name | Type | Description
--- | --- | ---
`point` | Dot | 起点

Source:
  - GraphicStippleLine.js, line 51

##### Returns:

Type
  Promise.<void>