UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

10 lines (9 loc) 383 B
import { type BackingCanvasContext } from "./BackingCanvas.js"; /** * Painting utility: paints a circle. Coordinates are relative to the center of * the circle. Uses ctx's current fillStyle. Does not restore the context state * after finishing. * * @category Helper */ export declare function paintCircle(ctx: BackingCanvasContext, x: number, y: number, radius: number): void;