UNPKG

@diffusionstudio/core-v4

Version:

2D motion graphics and video rendering engine

8 lines (7 loc) 478 B
import { Percent, KeyframeOptions } from '../../types'; import { ShapeClipProps } from '../shape'; export type RectangleClipAnimationOptions = (KeyframeOptions<'opacity' | 'rotation' | 'scale' | 'scaleX' | 'scaleY' | 'x' | 'y' | 'height' | 'width' | 'translateX' | 'translateY' | 'radius', number> | KeyframeOptions<'fill', string>)[]; export interface RectangleClipProps extends ShapeClipProps { radius?: number | Percent; animations?: RectangleClipAnimationOptions; }