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.

35 lines (34 loc) 1.6 kB
import { PolygonMaskInlineArrangement, PolygonMaskInlineArrangementAlt, PolygonMaskType } from "../../Enums"; import type { ICoordinates } from "../../../../Core"; import type { IOptionLoader } from "../../../../Options/Interfaces/IOptionLoader"; import type { IPolygonMask } from "../Interfaces/IPolygonMask"; import { PolygonMaskDraw } from "./PolygonMaskDraw"; import { PolygonMaskInline } from "./PolygonMaskInline"; import { PolygonMaskLocalSvg } from "./PolygonMaskLocalSvg"; import { PolygonMaskMove } from "./PolygonMaskMove"; import type { RecursivePartial } from "../../../../Types"; /** * [[include:Options/Plugins/PolygonMask.md]] * @category Polygon Mask Plugin */ export declare class PolygonMask implements IPolygonMask, IOptionLoader<IPolygonMask> { /** * @deprecated the property inlineArrangement is deprecated, please use the new inline.arrangement */ get inlineArrangement(): PolygonMaskInlineArrangement | keyof typeof PolygonMaskInlineArrangement | PolygonMaskInlineArrangementAlt; /** * @deprecated the property inlineArrangement is deprecated, please use the new inline.arrangement */ set inlineArrangement(value: PolygonMaskInlineArrangement | keyof typeof PolygonMaskInlineArrangement | PolygonMaskInlineArrangementAlt); draw: PolygonMaskDraw; enable: boolean; inline: PolygonMaskInline; move: PolygonMaskMove; position?: ICoordinates; scale: number; type: PolygonMaskType; url?: string; data?: string | PolygonMaskLocalSvg; constructor(); load(data?: RecursivePartial<IPolygonMask>): void; }