UNPKG

tsparticles

Version:

Easily create highly customizable particle 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.

9 lines (8 loc) 407 B
import { IParticle, IShapeDrawer } from "../../Core/Interfaces"; import { Container } from "../../Core/Container"; export declare const validTypes: string[]; export declare class TextDrawer implements IShapeDrawer { getSidesCount(): number; init(container: Container): Promise<void>; draw(context: CanvasRenderingContext2D, particle: IParticle, radius: number, opacity: number): void; }