UNPKG

@diffusionstudio/core-v4

Version:

A fast, browser based video compositing engine powered by WebCodecs

8 lines (7 loc) 355 B
import { Percent, KeyframeOptions } from '../../types'; import { MaskProps } from '../mask/interfaces'; export type RectangleMaskAnimationOptions = KeyframeOptions<'x' | 'y' | 'radius' | 'width' | 'height', number>[]; export interface RectangleMaskProps extends MaskProps { radius?: number | Percent; animations?: RectangleMaskAnimationOptions; }