# Class: Theme

## Theme()

#### new Theme()

专题图

Source:
  - Theme.js, line 12

### Methods

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

是否是单值或者分段专题图

Source:
  - Theme.js, line 100

##### Returns:

Type
  boolean

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

获取专题图的名称

Source:
  - Theme.js, line 54

##### Returns:

专题图的名称

Type
  String

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

获取专题图类型

Source:
  - Theme.js, line 23

##### Returns:

专题图类型 例：1--ThemeType.SimpleTheme

Type
  int

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

获取专题图的可见性

Source:
  - Theme.js, line 69

##### Returns:

专题图的可见性

Type
  boolean

#### (async, static) setName(name) → {int}

设置专题图的名称

##### Parameters:

Name | Type | Description
--- | --- | ---
`name` | String | 专题图的名称

Source:
  - Theme.js, line 39

##### Returns:

1-成功 ；0-失败

Type
  int

#### (async, static) setVisible(bVisible) → {int}

设置专题图的可见性

##### Parameters:

Name | Type | Description
--- | --- | ---
`bVisible` | boolean | 专题图的可见性

Source:
  - Theme.js, line 85

##### Returns:

1-成功；0-失败

Type
  int