@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.
14 lines (13 loc) • 455 B
TypeScript
import { ISerializable } from "../common/ISerializable.js";
/**
* Interface for defining the basic structure of a shape.
*
* This interface can be extended by various shape definitions
* (e.g., rectangles, circles) to ensure a consistent structure
* across different shape types.
*
* @remarks
* This is an empty object type and serves as a base or marker for shape definition types.
*/
export interface IShapeDefinition extends ISerializable {
}