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.

17 lines (16 loc) 349 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ShapeOptions = void 0; /** * Base options for configuring the behavior of all shapes. */ class ShapeOptions { } exports.ShapeOptions = ShapeOptions; /** * Default options for shapes. */ ShapeOptions.DefaultOptions = { visible: true, draggable: true };