Methods
(async, static) createObj() → {Promise.<PointPlaceInfo>}
构造一个新的PointPlaceInfo对象
- Source:
Returns:
- Type
- Promise.<PointPlaceInfo>
(async, static) getAvoidPointSymbol() → {boolean}
获取是否避让点符号
- Source:
Returns:
- Type
- boolean
(async, static) getEightLocationPrioritys() → {Array}
获取八方位优先级,数组长度为8
- Source:
Returns:
int类型的数组
- Type
- Array
(async, static) getFollowPointSymbolBorder() → {boolean}
获取是否紧随点符号边界注记
- Source:
Returns:
- Type
- boolean
(async, static) getLocationPrioritys() → {Array}
获取任意方位优先级,度数,最大长度为20
- Source:
Returns:
double类型的数组
- Type
- Array
(async, static) getOffset() → {double}
获取标注与点的偏移距离(设备单位)
- Source:
Returns:
标注与点的偏移距离(设备单位)
- Type
- double
(async, static) getType() → {int}
获取点标注类型
- Source:
Returns:
点标注分布类型 例:PointPlaceType.EightLocationPlace
- Type
- int
(async, static) setAvoidPointSymbol(avoidPointSymbol) → {Promise.<Void>}
设置是否避让点符号
Parameters:
| Name | Type | Description |
|---|---|---|
avoidPointSymbol |
boolean | 是否避让点符号 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setEightLocationPrioritys(array) → {Promise.<Void>}
设置八方位优先级
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array | 八方位优先级数组,int类型,数组长度为8 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setFollowPointSymbolBorder(followPointSymbolBorder) → {Promise.<Void>}
设置是否紧随点符号边界注记
Parameters:
| Name | Type | Description |
|---|---|---|
followPointSymbolBorder |
boolean | 是否紧随点符号边界注记 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setLocationPrioritys(array) → {Promise.<Void>}
设置任意方位优先级
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array | 任意方位优先级数组,double类型,最大长度为20 |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setOffset(offset) → {Promise.<Void>}
设置标注与点的偏移距离(设备单位)
Parameters:
| Name | Type | Description |
|---|---|---|
offset |
int | 标注与点的偏移距离(设备单位) |
- Source:
Returns:
- Type
- Promise.<Void>
(async, static) setType(pointPlaceType) → {Promise.<Void>}
设置点标注类型
Parameters:
| Name | Type | Description |
|---|---|---|
pointPlaceType |
int | 点标注分布类型 例:PointPlaceType.EightLocationPlace |
- Source:
Returns:
- Type
- Promise.<Void>