UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

31 lines (30 loc) 1.21 kB
import type { IOptionLoader } from "../../../../Options/Interfaces/IOptionLoader"; import type { IPolygonMaskDraw } from "../Interfaces/IPolygonMaskDraw"; import { OptionsColor } from "../../../../Options/Classes/OptionsColor"; import { PolygonMaskDrawStroke } from "./PolygonMaskDrawStroke"; import type { RecursivePartial } from "../../../../Types"; /** * @category Polygon Mask Plugin */ export declare class PolygonMaskDraw implements IPolygonMaskDraw, IOptionLoader<IPolygonMaskDraw> { /** * @deprecated the property lineWidth is deprecated, please use the new stroke.width */ get lineWidth(): number; /** * @deprecated the property lineWidth is deprecated, please use the new stroke.width */ set lineWidth(value: number); /** * @deprecated the property lineColor is deprecated, please use the new stroke.color */ get lineColor(): string | OptionsColor; /** * @deprecated the property lineColor is deprecated, please use the new stroke.color */ set lineColor(value: string | OptionsColor); enable: boolean; stroke: PolygonMaskDrawStroke; constructor(); load(data?: RecursivePartial<IPolygonMaskDraw>): void; }