@tsparticles/shape-star
Version:
tsParticles star shape
9 lines (8 loc) • 451 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> {
readonly validTypes: readonly ["star"];
draw(data: IShapeDrawData<StarParticle>): void;
getSidesCount(particle: Particle): number;
particleInit(container: Container, particle: StarParticle): void;
}