# Class: ThemeInfo

## ThemeInfo() → {Promise.<ThemeInfo>}

#### new ThemeInfo() → {Promise.<ThemeInfo>}

构造一个新的ThemeInfo对象

Source:
  - ThemeInfo.js, line 21

##### Returns:

Type
  Promise.<ThemeInfo>

### Methods

#### (async, static) getCaption() → {String}

获取标题

Source:
  - ThemeInfo.js, line 44

##### Returns:

标题

Type
  String

#### (async, static) getGeoInfo(geomType) → {Promise.<GeomInfo>}

根据图形类型设置图形信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`geomType` | Number | 图形信息类型（int类型的Number），例：0-GeomType.GeomUnknown

Source:
  - ThemeInfo.js, line 165

##### Returns:

成功返回图形信息

Type
  Promise.<GeomInfo>

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

获取是否可见

Source:
  - ThemeInfo.js, line 74

##### Returns:

Type
  boolean

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

获取最大显示比

Source:
  - ThemeInfo.js, line 134

##### Returns:

Type
  double

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

获取最小显示比

Source:
  - ThemeInfo.js, line 104

##### Returns:

Type
  double

#### (async, static) setCaption(caption) → {Promise.<Void>}

设置标题

##### Parameters:

Name | Type | Description
--- | --- | ---
`caption` | String | 标题

Source:
  - ThemeInfo.js, line 60

##### Returns:

Type
  Promise.<Void>

#### (async, static) setGeoInfo(geomInfo) → {Promise.<Void>}

设置图形信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`geomInfo` | Object | 图形信息

Source:
  - ThemeInfo.js, line 202

##### Returns:

Type
  Promise.<Void>

#### (async, static) setIsVisible(isVisible) → {Promise.<Void>}

设置是否可见

##### Parameters:

Name | Type | Description
--- | --- | ---
`isVisible` | boolean | 是否可见

Source:
  - ThemeInfo.js, line 90

##### Returns:

Type
  Promise.<Void>

#### (async, static) setMaxScale(maxScale) → {Promise.<Void>}

设置最大显示比

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxScale` | double | 最大显示比

Source:
  - ThemeInfo.js, line 150

##### Returns:

Type
  Promise.<Void>

#### (async, static) setMinScale(minScale) → {Promise.<Void>}

设置最小显示比

##### Parameters:

Name | Type | Description
--- | --- | ---
`minScale` | double | 最小显示比

Source:
  - ThemeInfo.js, line 120

##### Returns:

Type
  Promise.<Void>

## ThemeInfo()

#### new ThemeInfo()

专题绘制信息

Source:
  - ThemeInfo.js, line 16

### Methods

#### (async, static) getCaption() → {String}

获取标题

Source:
  - ThemeInfo.js, line 44

##### Returns:

标题

Type
  String

#### (async, static) getGeoInfo(geomType) → {Promise.<GeomInfo>}

根据图形类型设置图形信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`geomType` | Number | 图形信息类型（int类型的Number），例：0-GeomType.GeomUnknown

Source:
  - ThemeInfo.js, line 165

##### Returns:

成功返回图形信息

Type
  Promise.<GeomInfo>

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

获取是否可见

Source:
  - ThemeInfo.js, line 74

##### Returns:

Type
  boolean

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

获取最大显示比

Source:
  - ThemeInfo.js, line 134

##### Returns:

Type
  double

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

获取最小显示比

Source:
  - ThemeInfo.js, line 104

##### Returns:

Type
  double

#### (async, static) setCaption(caption) → {Promise.<Void>}

设置标题

##### Parameters:

Name | Type | Description
--- | --- | ---
`caption` | String | 标题

Source:
  - ThemeInfo.js, line 60

##### Returns:

Type
  Promise.<Void>

#### (async, static) setGeoInfo(geomInfo) → {Promise.<Void>}

设置图形信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`geomInfo` | Object | 图形信息

Source:
  - ThemeInfo.js, line 202

##### Returns:

Type
  Promise.<Void>

#### (async, static) setIsVisible(isVisible) → {Promise.<Void>}

设置是否可见

##### Parameters:

Name | Type | Description
--- | --- | ---
`isVisible` | boolean | 是否可见

Source:
  - ThemeInfo.js, line 90

##### Returns:

Type
  Promise.<Void>

#### (async, static) setMaxScale(maxScale) → {Promise.<Void>}

设置最大显示比

##### Parameters:

Name | Type | Description
--- | --- | ---
`maxScale` | double | 最大显示比

Source:
  - ThemeInfo.js, line 150

##### Returns:

Type
  Promise.<Void>

#### (async, static) setMinScale(minScale) → {Promise.<Void>}

设置最小显示比

##### Parameters:

Name | Type | Description
--- | --- | ---
`minScale` | double | 最小显示比

Source:
  - ThemeInfo.js, line 120

##### Returns:

Type
  Promise.<Void>