UNPKG

@avolutions/canvas-painter

Version:

CanvasPainter.js is a simple yet powerful JavaScript library for drawing basic shapes (rectangles, circles, etc.) on HTML5 Canvas with ease. Perfect for creating 2D graphics in your web projects.

19 lines (18 loc) 408 B
import { IShapeBaseStyle } from "./IShapeBaseStyle.js"; /** * Represents the base style options for a circle. */ export interface ICircleBaseStyle extends IShapeBaseStyle { /** * The color of the border. */ borderColor?: string; /** * The width of the border in pixels. */ borderWidth?: number; /** * The fill color of the circle. */ color?: string; }