# Class: QueryBound

## QueryBound()

#### new QueryBound()

Source:
  - QueryBound.js, line 11

### Methods

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

构造一个新的 QueryBound 对象。

Source:
  - QueryBound.js, line 20

##### Returns:

Type
  Promise.<QueryBound>

#### (async, static) setPoint(point, dx, dy, dy) → {Promise.<void>}

点查询

##### Parameters:

Name | Type | Description
--- | --- | ---
`point` |  |
`dx` |  | X方向最大范围偏移量
`dy` |  | Y方向最大范围偏移量
`dy` |  | Y方向最大范围偏移量

Source:
  - QueryBound.js, line 54

##### Returns:

Type
  Promise.<void>

#### (async, static) setPoints(pointArray) → {Promise.<void>}

设置一组点（多边形查询）

##### Parameters:

Name | Type | Description
--- | --- | ---
`pointArray` |  |

Source:
  - QueryBound.js, line 68

##### Returns:

Type
  Promise.<void>

#### (async, static) setRect(rect) → {Promise.<void>}

设置矩形查询范围

##### Parameters:

Name | Type | Description
--- | --- | ---
`rect` |  |

Source:
  - QueryBound.js, line 37

##### Returns:

Type
  Promise.<void>