UNPKG

tsparticles

Version:

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

6 lines (5 loc) 293 B
import type { IShapeDrawer } from "../../Interfaces/IShapeDrawer"; import type { IParticle } from "../../Interfaces/IParticle"; export declare class LineDrawer implements IShapeDrawer { draw(context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number): void; }