@visactor/vrender-animate
Version:
This module provides a graph-based animation system for VRender.
14 lines (13 loc) • 546 B
TypeScript
import type { EasingType } from '@visactor/vrender-core';
import { AStageAnimate } from '../custom-animate';
export interface BlurConfig {
blurRadius: number;
useOptimizedBlur: boolean;
}
export declare class GaussianBlur extends AStageAnimate<any> {
private blurConfig;
constructor(from: null, to: null, duration: number, easing: EasingType, params: any);
private applyCSSBlur;
private applyDownsampleBlur;
protected afterStageRender(stage: any, canvas: HTMLCanvasElement): HTMLCanvasElement | void | null | false;
}