# Class: RegionPlaceInfo

## RegionPlaceInfo()

#### new RegionPlaceInfo()

区放置样式

Source:
  - RegionPlaceInfo.js, line 11

### Methods

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

创建一个新的RegionPlaceInfo对象

Source:
  - RegionPlaceInfo.js, line 22

##### Returns:

Type
  Promise.<RegionPlaceInfo>

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

获取重复类型

Source:
  - RegionPlaceInfo.js, line 171

##### Returns:

重复类型，例：DuplicateType.OneLabelPreFeaturePart的值0

Type
  int

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

获取是否限制小区标注

Source:
  - RegionPlaceInfo.js, line 101

##### Returns:

Type
  boolean

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

获取限制小区标注的最大面积(设备单位 * 设备单位,小于该面积则小区不标注)

Source:
  - RegionPlaceInfo.js, line 136

##### Returns:

Type
  double

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

当区内部无法标注时，是否尝试水平标注在区的外面

Source:
  - RegionPlaceInfo.js, line 69

##### Returns:

Type
  boolean

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

获取区标注类型

Source:
  - RegionPlaceInfo.js, line 39

##### Returns:

区标注类型,例：RegPlaceType.HorizationPlace

Type
  int

#### (async, static) setDuplicateType(duplicateType) → {Promise.<Void>}

设置重复类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`duplicateType` | int | 重复类型，例：DuplicateType.OneLabelPreFeaturePart

Source:
  - RegionPlaceInfo.js, line 187

##### Returns:

Type
  Promise.<Void>

#### (async, static) setLimitLabelSmallRegion(limitLabelSmallRegion) → {Promise.<Void>}

设置是否尝试水平标注在区的外面

##### Parameters:

Name | Type | Description
--- | --- | ---
`limitLabelSmallRegion` | boolean | 是否限制小区标注

Source:
  - RegionPlaceInfo.js, line 119

##### Returns:

Type
  Promise.<Void>

#### (async, static) setSmallRegionMaxArea(smallRegionMaxArea) → {Promise.<Void>}

设置限制小区标注的最大面积(设备单位 * 设备单位,小于该面积则小区不标注)

##### Parameters:

Name | Type | Description
--- | --- | ---
`smallRegionMaxArea` | double | 是限制小区标注的最大面积

Source:
  - RegionPlaceInfo.js, line 154

##### Returns:

Type
  Promise.<Void>

#### (async, static) setTryLabelOutside(tryLabelOutside) → {Promise.<Void>}

设置是否尝试水平标注在区的外面

##### Parameters:

Name | Type | Description
--- | --- | ---
`tryLabelOutside` | boolean | 是否尝试水平标注在区的外面

Source:
  - RegionPlaceInfo.js, line 87

##### Returns:

Type
  Promise.<Void>

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

设置区标注类型

##### Parameters:

Name | Type | Description
--- | --- | ---
`regPlaceType` | int | 区标注类型,例：RegPlaceType.HorizationPlace

Source:
  - RegionPlaceInfo.js, line 55

##### Returns:

Type
  Promise.<Void>