UNPKG

@visactor/vrender-animate

Version:

This module provides a graph-based animation system for VRender.

7 lines (6 loc) 690 B
import type { IGraphic } from '@visactor/vrender-core'; import { AttributeUpdateType } from '@visactor/vrender-core/event/constant'; export declare function applyAnimationFrameAttributes(target: IGraphic, attributes?: Record<string, any> | null): void; export declare function applyAnimationFrameNumberAttributes(target: IGraphic, keys: string[], from: Record<string, any>, to: Record<string, any>, ratio: number): void; export declare function applyAnimationTransientAttributes(target: IGraphic, attributes?: Record<string, any> | null, type?: AttributeUpdateType): void; export declare function applyAppearStartAttributes(target: IGraphic, attributes?: Record<string, any> | null): void;