UNPKG

416 BTypeScriptView Raw
1import type { IShapeDrawer } from "../Core/Interfaces/IShapeDrawer";
2import type { IParticle } from "../Core/Interfaces/IParticle";
3import type { Container } from "../Core/Container";
4export declare class TextDrawer implements IShapeDrawer {
5 getSidesCount(): number;
6 init(container: Container): Promise<void>;
7 draw(context: CanvasRenderingContext2D, particle: IParticle, radius: number): void;
8}