UNPKG

@visactor/vrender-animate

Version:

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

15 lines (14 loc) 568 B
import type { EasingType } from '@visactor/vrender-core'; import { CommonIn, CommonOut } from './common'; export interface IScaleAnimationOptions { direction?: 'x' | 'y' | 'xy'; } export declare class ClipIn extends CommonIn { valid: boolean; constructor(from: null, to: null, duration: number, easing: EasingType, params?: IScaleAnimationOptions); onFirstRun(): void; } export declare class ClipOut extends CommonOut { valid: boolean; constructor(from: null, to: null, duration: number, easing: EasingType, params?: IScaleAnimationOptions); }