UNPKG

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