UNPKG

@visactor/vrender-animate

Version:

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

14 lines (13 loc) 596 B
import type { EasingType } from '@visactor/vrender-core'; import { DisappearAnimateBase } from './base/DisappearAnimateBase'; export interface PixelationConfig { maxPixelSize?: number; method?: 'out' | 'in'; } export declare class Pixelation extends DisappearAnimateBase<any> { private pixelationConfig; constructor(from: null, to: null, duration: number, easing: EasingType, params: any); private applyDownsamplePixelation; private updateAnimationProgress; protected afterStageRender(stage: any, canvas: HTMLCanvasElement): HTMLCanvasElement | void | null | false; }