# Class: GraphicCircle

## GraphicCircle()

#### new GraphicCircle()

Source:
  - GraphicCircle.js, line 11

### Methods

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

构造一个新的 GraphicCircle 对象。

Source:
  - GraphicCircle.js, line 32

##### Returns:

Type
  Promise.<GraphicCircle>

#### (async, static) getBorderlineColor() → {Promise.<String>}

获取圆边界线的颜色

Source:
  - GraphicCircle.js, line 188

##### Returns:

颜色 eg:'rgba(128, 128, 128, 128)'

Type
  Promise.<String>

#### (async, static) getBorderlineWidth() → {Promise.<Number>}

获取圆边界线的宽度

Source:
  - GraphicCircle.js, line 150

##### Returns:

Type
  Promise.<Number>

#### (async, static) getRadius() → {Promise.<Number>}

获取半径

Source:
  - GraphicCircle.js, line 112

##### Returns:

Type
  Promise.<Number>

#### (async, static) isRadiusByPixel() → {Promise.<boolean>}

获取半径是否为像素单位

Source:
  - GraphicCircle.js, line 226

##### Returns:

Type
  Promise.<boolean>

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

设置圆边界线的颜色

##### Parameters:

Name | Type | Description
--- | --- | ---
`color` | String | 颜色 eg:'rgba(128, 128, 128, 128)'

Source:
  - GraphicCircle.js, line 172

##### Returns:

Type
  Promise.<void>

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

设置圆边界线的宽度

##### Parameters:

Name | Type | Description
--- | --- | ---
`width` | Number | 宽度

Source:
  - GraphicCircle.js, line 133

##### Returns:

Type
  Promise.<void>

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

设置圆心位置和半径

##### Parameters:

Name | Type | Description
--- | --- | ---
`point` | Dot | 圆心位置
`radius` | Number | 半径

Source:
  - GraphicCircle.js, line 50

##### Returns:

Type
  Promise.<void>

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

设置圆心位置

##### Parameters:

Name | Type | Description
--- | --- | ---
`point` | Dot | 圆心位置

Source:
  - GraphicCircle.js, line 73

##### Returns:

Type
  Promise.<void>

#### (async, static) setRadius(radius) → {Promise.<void>}

设置半径

##### Parameters:

Name | Type | Description
--- | --- | ---
`radius` | Number | 半径

Source:
  - GraphicCircle.js, line 93

##### Returns:

Type
  Promise.<void>

#### (async, static) setRadiusByPixel(pixel) → {Promise.<void>}

设置半径是否为像素单位(默认情况下为地图单位)

##### Parameters:

Name | Type | Description
--- | --- | ---
`pixel` | boolean | 半径是否为像素单位

Source:
  - GraphicCircle.js, line 209

##### Returns:

Type
  Promise.<void>