UNPKG

334 BTypeScriptView Raw
1import type { IParticle } from "../Core/Interfaces/IParticle";
2import type { IShapeDrawer } from "../Core/Interfaces/IShapeDrawer";
3export declare class StarDrawer implements IShapeDrawer {
4 getSidesCount(particle: IParticle): number;
5 draw(context: CanvasRenderingContext2D, particle: IParticle, radius: number): void;
6}