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