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.
22 lines (21 loc) • 511 B
TypeScript
import type { IAnimatableColor } from "../IAnimatableColor";
import type { IColor } from "../../../Core";
/**
* Particle stroke, outlines the particle with a customizable line
* [[include:Options/Particles/Stroke.md]]
* @category Options
*/
export interface IStroke {
/**
* The stroke color, can be animated too
*/
color?: string | IAnimatableColor | IColor;
/**
* The stroke opacity
*/
opacity?: number;
/**
* The stroke line width
*/
width: number;
}