UNPKG

@diffusionstudio/core-v4

Version:

A fast, browser based video compositing engine powered by WebCodecs

18 lines (17 loc) 577 B
import { ShapeClip } from '../shape'; import { Layer } from '../../layer'; import { Renderer } from '../../renderer'; import { PolygonClipAnimationOptions, PolygonClipProps } from './interfaces'; export declare class PolygonClip extends ShapeClip { readonly type = "POLYGON"; layer?: Layer<PolygonClip>; animations: PolygonClipAnimationOptions; sides: number; constructor(props?: PolygonClipProps); get name(): string; /** * Access to the html document that * will be rendered to the canvas */ render(renderer: Renderer): void; }