UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

14 lines (13 loc) 402 B
import { PolygonMaskInlineArrangement } from "../../../Enums/PolygonMaskInlineArrangement"; export class PolygonInline { constructor() { this.arrangement = PolygonMaskInlineArrangement.onePerPoint; } load(data) { if (data !== undefined) { if (data.arrangement !== undefined) { this.arrangement = data.arrangement; } } } }