@diffusionstudio/core
Version:
A fast, browser based video compositing engine powered by WebCodecs
8 lines (7 loc) • 472 B
TypeScript
import { Percent, KeyframeOptions } from '../../types';
import { ShapeClipProps } from '../shape';
export type EllipseClipAnimationOptions = (KeyframeOptions<'opacity' | 'rotation' | 'scale' | 'scaleX' | 'scaleY' | 'radius' | 'x' | 'y' | 'translateX' | 'translateY' | 'width' | 'height', number> | KeyframeOptions<'fill', string>)[];
export interface EllipseClipProps extends ShapeClipProps {
radius?: number | Percent;
animations?: EllipseClipAnimationOptions;
}