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.

8 lines (7 loc) 268 B
import { IShapeStyle } from "./IShapeStyle.js"; import { IRectangleBaseStyle } from "./IRectangleBaseStyle.js"; /** * Represents the style options for a rectangle including the states. */ export interface IRectangleStyle extends IRectangleBaseStyle, IShapeStyle { }