UNPKG

@diffusionstudio/core

Version:

A fast, browser based video compositing engine powered by WebCodecs

21 lines (20 loc) 695 B
import { ShapeClip } from '../shape'; import { Renderer } from '../../renderer'; import { Layer } from '../../layer'; import { EllipseClipAnimationOptions, EllipseClipProps } from './interfaces'; import { Percent } from '../../types'; export declare class EllipseClip extends ShapeClip { _keepAspectRatio: boolean; readonly type = "ELLIPSE"; layer?: Layer<EllipseClip>; animations: EllipseClipAnimationOptions; constructor(props?: EllipseClipProps); get radius(): number; set radius(value: number | Percent); get name(): string; /** * Access to the html document that * will be rendered to the canvas */ render(renderer: Renderer): void; }