@tsparticles/shape-star
Version:
tsParticles star shape
8 lines (7 loc) • 408 B
TypeScript
import { type Container, type IShapeDrawData, type IShapeDrawer, type Particle } from "@tsparticles/engine";
import type { StarParticle } from "./StarParticle.js";
export declare class StarDrawer implements IShapeDrawer<StarParticle> {
draw(data: IShapeDrawData<StarParticle>): void;
getSidesCount(particle: Particle): number;
particleInit(_container: Container, particle: StarParticle): void;
}