UNPKG

@tsparticles/plugin-polygon-mask

Version:

tsParticles polygon mask plugin

11 lines (10 loc) 508 B
import { type Engine, type IOptionLoader, OptionsColor, type RecursivePartial } from "@tsparticles/engine"; import type { IPolygonMaskDrawStroke } from "../Interfaces/IPolygonMaskDrawStroke.js"; export declare class PolygonMaskDrawStroke implements IPolygonMaskDrawStroke, IOptionLoader<IPolygonMaskDrawStroke> { color: OptionsColor; opacity: number; width: number; private readonly _engine; constructor(engine: Engine); load(data?: RecursivePartial<IPolygonMaskDrawStroke>): void; }