# Class: MultiClassThemeInfo

## MultiClassThemeInfo()

#### new MultiClassThemeInfo()

多表达式分段专题图项

Source:
  - MultiClassThemeInfo.js, line 19

### Methods

#### (async, static) copy(multiClassThemeInfo) → {boolean}

复制信息到当前专题图对象

##### Parameters:

Name | Type | Description
--- | --- | ---
`multiClassThemeInfo` | Object | 专题图对象

Source:
  - MultiClassThemeInfo.js, line 206

##### Returns:

true-成功 ： false-失败

Type
  boolean

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

构造一个新的MultiClassThemeInfo对象

Source:
  - MultiClassThemeInfo.js, line 30

##### Returns:

Type
  Promise.<MultiClassThemeInfo>

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

获取项标题

Source:
  - MultiClassThemeInfo.js, line 85

##### Returns:

项标题

Type
  String

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

获取专题图信息项的数目（和表达式的数目相同）

Source:
  - MultiClassThemeInfo.js, line 47

##### Returns:

专题图信息项的数目

Type
  int

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

获得专题图项的图形信息

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 267

##### Returns:

成功返回专题图项的图形信息

Type
  Promise.<GeomInfo>

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

获取最大显示比

Source:
  - MultiClassThemeInfo.js, line 175

##### Returns:

最大显示比

Type
  double

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

获取最小显示比

Source:
  - MultiClassThemeInfo.js, line 145

##### Returns:

最小显示比

Type
  double

#### (async, static) getValue(index) → {Promise.<ClassItemValue>}

获得专题图项的信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`index` | int | 专题图项的索引

Source:
  - MultiClassThemeInfo.js, line 246

##### Returns:

成功返回专题图项的信息

Type
  Promise.<ClassItemValue>

#### (async, static) getValues() → {Array}

取各个项的值（该列表长度与表达式的个数同）

Source:
  - MultiClassThemeInfo.js, line 63

##### Returns:

各个项的值组成的数组 - ClassItemValue[]

Type
  Array

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

获取是否可见

Source:
  - MultiClassThemeInfo.js, line 115

##### Returns:

是否可见

Type
  boolean

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

设置项标题

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 101

##### Returns:

Type
  Promise.<Void>

#### (async, static) setGeoInfo(geomInfo, geomType) → {boolean}

设置专题图项的图形信息

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 308

##### Returns:

Type
  boolean

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

设置最大显示比

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 191

##### Returns:

Type
  Promise.<Void>

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

设置最小显示比

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 161

##### Returns:

Type
  Promise.<Void>

#### (async, static) setValue(index, classItemValue) → {boolean}

设置专题图项的信息

##### Parameters:

Name | Type | Description
--- | --- | ---
`index` | int | 专题图项的索引
`classItemValue` | Object | 专题图项的信息

Source:
  - MultiClassThemeInfo.js, line 226

##### Returns:

true-成功 ： false-失败

Type
  boolean

#### (async, static) setVisible(visible) → {Promise.<Void>}

设置是否可见

##### Parameters:

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

Source:
  - MultiClassThemeInfo.js, line 131

##### Returns:

Type
  Promise.<Void>