UNPKG

@tsparticles/plugin-polygon-mask

Version:

tsParticles polygon mask plugin

10 lines (9 loc) 487 B
import { type Engine, type IOptionLoader, type RecursivePartial } from "@tsparticles/engine"; import type { IPolygonMaskDraw } from "../Interfaces/IPolygonMaskDraw.js"; import { PolygonMaskDrawStroke } from "./PolygonMaskDrawStroke.js"; export declare class PolygonMaskDraw implements IPolygonMaskDraw, IOptionLoader<IPolygonMaskDraw> { enable: boolean; stroke: PolygonMaskDrawStroke; constructor(engine: Engine); load(data?: RecursivePartial<IPolygonMaskDraw>): void; }