<a name="BaseTag"></a>

## BaseTag
{BaseTag} tag基类

**Kind**: global class  

* [BaseTag](#BaseTag)
    * [new BaseTag(type, text)](#new_BaseTag_new)
    * [.setType(type)](#BaseTag+setType)
    * [.setText(text)](#BaseTag+setText)
    * [.setColor(color)](#BaseTag+setColor)
    * [.setBackgroundColor(backgroundColor)](#BaseTag+setBackgroundColor)
    * [.getData()](#BaseTag+getData) ⇒ <code>Object</code>

<a name="new_BaseTag_new"></a>

### new BaseTag(type, text)
构造方法


| Param | Type | Description |
| --- | --- | --- |
| type | <code>string</code> | 类型 |
| text | <code>string</code> | text |

<a name="BaseTag+setType"></a>

### baseTag.setType(type)
设置类型

**Kind**: instance method of [<code>BaseTag</code>](#BaseTag)  

| Param | Type | Description |
| --- | --- | --- |
| type | <code>string</code> | 类型 |

<a name="BaseTag+setText"></a>

### baseTag.setText(text)
设置文本

**Kind**: instance method of [<code>BaseTag</code>](#BaseTag)  

| Param | Type | Description |
| --- | --- | --- |
| text | <code>string</code> | 文本 |

<a name="BaseTag+setColor"></a>

### baseTag.setColor(color)
设置color

**Kind**: instance method of [<code>BaseTag</code>](#BaseTag)  

| Param | Type | Description |
| --- | --- | --- |
| color | <code>string</code> | 颜色 |

<a name="BaseTag+setBackgroundColor"></a>

### baseTag.setBackgroundColor(backgroundColor)
设置backgroundColor

**Kind**: instance method of [<code>BaseTag</code>](#BaseTag)  

| Param | Type | Description |
| --- | --- | --- |
| backgroundColor | <code>string</code> | 背景颜色 |

<a name="BaseTag+getData"></a>

### baseTag.getData() ⇒ <code>Object</code>
返回数据

**Kind**: instance method of [<code>BaseTag</code>](#BaseTag)  
