UNPKG

tsparticles

Version:

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

12 lines (11 loc) 434 B
import type { IPolygonShape } from "../../../../Interfaces/Options/Particles/Shape/IPolygonShape"; import type { RecursivePartial } from "../../../../Types/RecursivePartial"; export declare class PolygonShape implements IPolygonShape { get nb_sides(): number; set nb_sides(value: number); close?: boolean; fill?: boolean; sides: number; constructor(); load(data?: RecursivePartial<IPolygonShape>): void; }