---
title: Interface: ICreateLineAnimateLayerResult
source: https://vjmap.com/doc/Interface_ICreateLineAnimateLayerResult.html
---

# Interface: ICreateLineAnimateLayerResult

### Hierarchy

- [*ICreateAnimateLayerResult*](#interfacesdefaulticreateanimatelayerresultmd)

  ↳ **ICreateLineAnimateLayerResult**

### Table of contents

#### Properties

- [createAnimateImages](#createanimateimages)
- [layerId](#layerid)
- [polyline](#polyline)
- [remove](#remove)
- [setSpeed](#setspeed)
- [sourceId](#sourceid)
- [startAnimation](#startanimation)
- [stopAnimation](#stopanimation)
- [updateData](#updatedata)
- [updateImages](#updateimages)

### Properties

#### createAnimateImages

• **createAnimateImages**: (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)) => ImageData[]

创建动画图片集.

##### Type declaration

▸ (`options`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `options` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) |

**Returns:** ImageData[]

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[createAnimateImages](#createanimateimages)

___

#### layerId

• **layerId**: *string*

图层ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[layerId](#layerid)

___

#### polyline

• **polyline**: [*Polyline*](#classesdefaultpolylinemd)

___

#### remove

• **remove**: () => *void*

移除.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[remove](#remove)

___

#### setSpeed

• **setSpeed**: (`speed`: *number*) => *void*

设置速度.

##### Type declaration

▸ (`speed`: *number*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `speed` | *number* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[setSpeed](#setspeed)

___

#### sourceId

• **sourceId**: *string*

数据源ID.

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[sourceId](#sourceid)

___

#### startAnimation

• **startAnimation**: () => *void*

开始动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[startAnimation](#startanimation)

___

#### stopAnimation

• **stopAnimation**: () => *void*

结束动画函数.

##### Type declaration

▸ (): *void*

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[stopAnimation](#stopanimation)

___

#### updateData

• **updateData**: (`input`: *any*) => *void*

更新数据.

##### Type declaration

▸ (`input`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | *any* |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateData](#updatedata)

___

#### updateImages

• **updateImages**: (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]) => *void*

更新动画图片集.

##### Type declaration

▸ (`images`: (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `images` | (*string* \| ArrayBufferView \| ImageData \| HTMLImageElement \| ImageBitmap \| { `data`: *Uint8Array* \| *Uint8ClampedArray* ; `height`: *number* ; `width`: *number*  })[] |

**Returns:** *void*

Inherited from: [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd).[updateImages](#updateimages)


<a name="interfacesicreatesymbolanimatelayerresultmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / ICreateSymbolAnimateLayerResult
