# Class: MagnifierOption

## MagnifierOption()

#### new MagnifierOption()

放大镜功能组件

Source:
  - MagnifierOption.js, line 10

### Methods

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

构造一个新的 MagnifierOption 对象。

Source:
  - MagnifierOption.js, line 20

##### Returns:

Type
  Promise.<MagnifierOption>

#### (async, static) getPoint() → {Promise.<object>}

获取放大镜位置

Source:
  - MagnifierOption.js, line 156

##### Returns:

获取放大镜位置

Type
  Promise.<object>

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

获取放大镜位置调整模式

Source:
  - MagnifierOption.js, line 142

##### Returns:

放大镜位置调整模式

Type
  Promise.<Number>

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

获取缩放比例

Source:
  - MagnifierOption.js, line 53

##### Returns:

缩放比例

Type
  Promise.<Number>

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

获取放大镜大小

Source:
  - MagnifierOption.js, line 87

##### Returns:

放大镜大小

Type
  Promise.<Number>

#### (async, static) setPoint(pointF) → {Promise.<object>}

设设置放大镜位置

##### Parameters:

Name | Type | Description
--- | --- | ---
`pointF` |  | 放大镜左上角位置

Source:
  - MagnifierOption.js, line 173

##### Returns:

Type
  Promise.<object>

#### (async, static) setPointAdjustMode(mode) → {Promise.<object>}

设置放大镜位置调整模式

##### Parameters:

Name | Type | Description
--- | --- | ---
`mode` |  | 放大镜位置调整模式 AUTO_ADJUST_POINT 自动调整 USER_CUSTOM_POINT 自定义位置

Source:
  - MagnifierOption.js, line 122

##### Returns:

Type
  Promise.<object>