@diffusionstudio/core-v4
Version:
2D motion graphics and video rendering engine
8 lines (7 loc) • 469 B
TypeScript
import { Percent, KeyframeOptions } from '../../types';
import { ShapeClipProps } from '../shape';
export type CircleClipAnimationOptions = (KeyframeOptions<'opacity' | 'rotation' | 'scale' | 'scaleX' | 'scaleY' | 'radius' | 'x' | 'y' | 'translateX' | 'translateY' | 'width' | 'height', number> | KeyframeOptions<'fill', string>)[];
export interface CircleClipProps extends ShapeClipProps {
radius?: number | Percent;
animations?: CircleClipAnimationOptions;
}