fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
11 lines • 523 B
TypeScript
import type { TRGBAColorSource } from '../../color/typedefs';
import { AnimationBase } from './AnimationBase';
import type { ColorAnimationOptions } from './types';
export declare class ColorAnimation extends AnimationBase<TRGBAColorSource> {
constructor({ startValue, endValue, easing, onChange, onComplete, abort, ...options }: ColorAnimationOptions);
protected calculate(timeElapsed: number): {
value: TRGBAColorSource;
valueProgress: number;
};
}
//# sourceMappingURL=ColorAnimation.d.ts.map