# Class: PointPlaceInfo

## PointPlaceInfo()

#### new PointPlaceInfo()

点放置样式

Source:
  - PointPlaceInfo.js, line 11

### Methods

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

构造一个新的PointPlaceInfo对象

Source:
  - PointPlaceInfo.js, line 22

##### Returns:

Type
  Promise.<PointPlaceInfo>

#### (async, static) getAvoidPointSymbol() → {boolean}

获取是否避让点符号

Source:
  - PointPlaceInfo.js, line 159

##### Returns:

Type
  boolean

#### (async, static) getEightLocationPrioritys() → {Array}

获取八方位优先级,数组长度为8

Source:
  - PointPlaceInfo.js, line 99

##### Returns:

int类型的数组

Type
  Array

#### (async, static) getFollowPointSymbolBorder() → {boolean}

获取是否紧随点符号边界注记

Source:
  - PointPlaceInfo.js, line 189

##### Returns:

Type
  boolean

#### (async, static) getLocationPrioritys() → {Array}

获取任意方位优先级，度数，最大长度为20

Source:
  - PointPlaceInfo.js, line 129

##### Returns:

double类型的数组

Type
  Array

#### (async, static) getOffset() → {double}

获取标注与点的偏移距离(设备单位)

Source:
  - PointPlaceInfo.js, line 69

##### Returns:

标注与点的偏移距离(设备单位)

Type
  double

#### (async, static) getType() → {int}

获取点标注类型

Source:
  - PointPlaceInfo.js, line 39

##### Returns:

点标注分布类型 例：PointPlaceType.EightLocationPlace

Type
  int

#### (async, static) setAvoidPointSymbol(avoidPointSymbol) → {Promise.<Void>}

设置是否避让点符号

##### Parameters:

Name | Type | Description
--- | --- | ---
`avoidPointSymbol` | boolean | 是否避让点符号

Source:
  - PointPlaceInfo.js, line 175

##### Returns:

Type
  Promise.<Void>

#### (async, static) setEightLocationPrioritys(array) → {Promise.<Void>}

设置八方位优先级

##### Parameters:

Name | Type | Description
--- | --- | ---
`array` | Array | 八方位优先级数组，int类型，数组长度为8

Source:
  - PointPlaceInfo.js, line 115

##### Returns:

Type
  Promise.<Void>

#### (async, static) setFollowPointSymbolBorder(followPointSymbolBorder) → {Promise.<Void>}

设置是否紧随点符号边界注记

##### Parameters:

Name | Type | Description
--- | --- | ---
`followPointSymbolBorder` | boolean | 是否紧随点符号边界注记

Source:
  - PointPlaceInfo.js, line 207

##### Returns:

Type
  Promise.<Void>

#### (async, static) setLocationPrioritys(array) → {Promise.<Void>}

设置任意方位优先级

##### Parameters:

Name | Type | Description
--- | --- | ---
`array` | Array | 任意方位优先级数组，double类型，最大长度为20

Source:
  - PointPlaceInfo.js, line 145

##### Returns:

Type
  Promise.<Void>

#### (async, static) setOffset(offset) → {Promise.<Void>}

设置标注与点的偏移距离(设备单位)

##### Parameters:

Name | Type | Description
--- | --- | ---
`offset` | int | 标注与点的偏移距离(设备单位)

Source:
  - PointPlaceInfo.js, line 85

##### Returns:

Type
  Promise.<Void>

#### (async, static) setType(pointPlaceType) → {Promise.<Void>}

设置点标注类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`pointPlaceType` | int | 点标注分布类型 例：PointPlaceType.EightLocationPlace

Source:
  - PointPlaceInfo.js, line 55

##### Returns:

Type
  Promise.<Void>