# Interface: ICreateAnimateLayerResult

# Table of contents

# Properties

# Properties

# createAnimateImages

• createAnimateImages: (options: ICreateAnimateImagesOptions) => ImageData[]

创建动画图片集.

# Type declaration

▸ (options: ICreateAnimateImagesOptions): ImageData[]

# Parameters
Name Type
options ICreateAnimateImagesOptions

Returns: ImageData[]


# layerId

• layerId: string

图层ID.


# remove

• remove: () => void

移除.

# Type declaration

▸ (): void

Returns: void


# setSpeed

• setSpeed: (speed: number) => void

设置速度.

# Type declaration

▸ (speed: number): void

# Parameters
Name Type
speed number

Returns: void


# sourceId

• sourceId: string

数据源ID.


# startAnimation

• startAnimation: () => void

开始动画函数.

# Type declaration

▸ (): void

Returns: void


# stopAnimation

• stopAnimation: () => void

结束动画函数.

# Type declaration

▸ (): void

Returns: void


# updateData

• updateData: (input: any) => void

更新数据.

# Type declaration

▸ (input: any): void

# Parameters
Name Type
input any

Returns: void


# 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

vjmap / Exports / ICreateAntPathAnimateLineLayerOptions