## Classes

<dl>
<dt><a href="#BaseTemplate">BaseTemplate</a> ⇐ <code><a href="#BaseTemplate">BaseTemplate</a></code></dt>
<dd><p>TextImageTemplate 图文模版</p>
</dd>
<dt><a href="#TextImageTemplate">TextImageTemplate</a></dt>
<dd></dd>
</dl>

<a name="BaseTemplate"></a>

## BaseTemplate ⇐ [<code>BaseTemplate</code>](#BaseTemplate)
TextImageTemplate 图文模版

**Kind**: global class  
**Extends**: [<code>BaseTemplate</code>](#BaseTemplate)  
<a name="TextImageTemplate"></a>

## TextImageTemplate
**Kind**: global class  

* [TextImageTemplate](#TextImageTemplate)
    * [new TextImageTemplate(type)](#new_TextImageTemplate_new)
    * [.setImage(url, widthPixels, heightPixels)](#TextImageTemplate+setImage)
    * [.setPlainContent(text)](#TextImageTemplate+setPlainContent)

<a name="new_TextImageTemplate_new"></a>

### new TextImageTemplate(type)
TextImageTemplate constructor.


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

<a name="TextImageTemplate+setImage"></a>

### textImageTemplate.setImage(url, widthPixels, heightPixels)
设置图片

**Kind**: instance method of [<code>TextImageTemplate</code>](#TextImageTemplate)  
**Access**: public  

| Param | Type | Description |
| --- | --- | --- |
| url | <code>string</code> | 图片地轴 |
| widthPixels | <code>string</code> | 图片像素宽 |
| heightPixels | <code>string</code> | 图片像素高 |

<a name="TextImageTemplate+setPlainContent"></a>

### textImageTemplate.setPlainContent(text)
设置文本

**Kind**: instance method of [<code>TextImageTemplate</code>](#TextImageTemplate)  
**Access**: public  

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

