# Interface: ICreateLineAnimateLayerResult
# Hierarchy
-
↳ ICreateLineAnimateLayerResult
# Table of contents
# Properties
- createAnimateImages
- layerId
- polyline
- remove
- setSpeed
- sourceId
- startAnimation
- stopAnimation
- updateData
- updateImages
# Properties
# createAnimateImages
• createAnimateImages: (options
: ICreateAnimateImagesOptions) => ImageData[]
创建动画图片集.
# Type declaration
▸ (options
: ICreateAnimateImagesOptions): ImageData[]
# Parameters
Name | Type |
---|---|
options | ICreateAnimateImagesOptions |
Returns: ImageData[]
Inherited from: ICreateAnimateLayerResult.createAnimateImages
# layerId
• layerId: string
图层ID.
Inherited from: ICreateAnimateLayerResult.layerId
# polyline
• polyline: Polyline
# remove
• remove: () => void
移除.
# Type declaration
▸ (): void
Returns: void
Inherited from: ICreateAnimateLayerResult.remove
# setSpeed
• setSpeed: (speed
: number) => void
设置速度.
# Type declaration
▸ (speed
: number): void
# Parameters
Name | Type |
---|---|
speed | number |
Returns: void
Inherited from: ICreateAnimateLayerResult.setSpeed
# sourceId
• sourceId: string
数据源ID.
Inherited from: ICreateAnimateLayerResult.sourceId
# startAnimation
• startAnimation: () => void
开始动画函数.
# Type declaration
▸ (): void
Returns: void
Inherited from: ICreateAnimateLayerResult.startAnimation
# stopAnimation
• stopAnimation: () => void
结束动画函数.
# Type declaration
▸ (): void
Returns: void
Inherited from: ICreateAnimateLayerResult.stopAnimation
# updateData
• updateData: (input
: any) => void
更新数据.
# Type declaration
▸ (input
: any): void
# Parameters
Name | Type |
---|---|
input | any |
Returns: void
Inherited from: ICreateAnimateLayerResult.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.updateImages