UNPKG

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