lazy-widgets
Version:
Typescript retained mode GUI for the HTML canvas API
9 lines (8 loc) • 323 B
TypeScript
/**
* 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: CanvasRenderingContext2D, x: number, y: number, radius: number): void;