@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
14 lines (13 loc) • 544 B
TypeScript
import type { EasingType } from '@visactor/vrender-core';
import { CommonIn, CommonOut } from './common';
export interface IScaleAnimationOptions {
direction?: 'x' | 'y' | 'xy';
}
export declare class FadeIn extends CommonIn {
valid: boolean;
constructor(from: null, to: null, duration: number, easing: EasingType, params?: IScaleAnimationOptions);
}
export declare class FadeOut extends CommonOut {
valid: boolean;
constructor(from: null, to: null, duration: number, easing: EasingType, params?: IScaleAnimationOptions);
}