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.

39 lines (38 loc) 1.29 kB
import type { ShapeData, SingleOrMultiple } from "../../../../Types"; import type { ICharacterShape } from "./ICharacterShape"; import type { IImageShape } from "./IImageShape"; import type { IPolygonShape } from "./IPolygonShape"; import type { IStroke } from "../IStroke"; import type { ShapeType } from "../../../../Enums"; /** * [[include:Options/Particles/Shape.md]] * @category Options */ export interface IShape { type: SingleOrMultiple<ShapeType | keyof typeof ShapeType | string>; /** * @deprecated this property was moved to particles section */ stroke: SingleOrMultiple<IStroke>; /** * @deprecated this property is now integrated in custom shape management */ polygon: SingleOrMultiple<IPolygonShape>; /** * @deprecated this property is now integrated in custom shape management */ character: SingleOrMultiple<ICharacterShape>; /** * @deprecated this property was integrated in custom shape management */ image: SingleOrMultiple<IImageShape>; /** * @deprecated this property was integrated in custom shape management */ images: SingleOrMultiple<IImageShape>; /** * @deprecated this property has been renamed to options */ custom: ShapeData; options: ShapeData; }