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.

52 lines (51 loc) 3.13 kB
export { ISerializable } from './common/ISerializable.js'; export { Serializable } from './common/Serializable.js'; export { ShapeState } from './common/ShapeState.js'; export { CircleDefinition } from './definitions/CircleDefinition.js'; export { IShapeDefinition } from './definitions/IShapeDefinition.js'; export { LineDefinition } from './definitions/LineDefinition.js'; export { RectangleDefinition } from './definitions/RectangleDefinition.js'; export { ShapeDefinition } from './definitions/ShapeDefinition.js'; export { InvalidConstructorArgumentsError } from './errors/InvalidConstructorArgumentsError.js'; export { ICanvasOptions } from './options/interfaces/ICanvasOptions.js'; export { ICircleOptions } from './options/interfaces/ICircleOptions.js'; export { ILineOptions } from './options/interfaces/ILineOptions.js'; export { IPanOptions } from './options/interfaces/IPanOptions.js'; export { IRectangleOptions } from './options/interfaces/IRectangleOptions.js'; export { IShapeOptions } from './options/interfaces/IShapeOptions.js'; export { IZoomOptions } from './options/interfaces/IZoomOptions.js'; export { CanvasOptions } from './options/CanvasOptions.js'; export { CircleOptions } from './options/CircleOptions.js'; export { LineOptions } from './options/LineOptions.js'; export { PanOptions } from './options/PanOptions.js'; export { RectangleOptions } from './options/RectangleOptions.js'; export { ShapeOptions } from './options/ShapeOptions.js'; export { ZoomOptions } from './options/ZoomOptions.js'; export { Circle } from './shapes/Circle.js'; export { IShape } from './shapes/IShape.js'; export { Line } from './shapes/Line.js'; export { Rectangle } from './shapes/Rectangle.js'; export { Shape } from './shapes/Shape.js'; export { Square } from './shapes/Square.js'; export { ICanvasCursorStyle } from './styles/interfaces/ICanvasCursorStyle.js'; export { ICanvasStyle } from './styles/interfaces/ICanvasStyle.js'; export { ICircleBaseStyle } from './styles/interfaces/ICircleBaseStyle.js'; export { ICircleStyle } from './styles/interfaces/ICircleStyle.js'; export { ILineBaseStyle } from './styles/interfaces/ILineBaseStyle.js'; export { ILineStyle } from './styles/interfaces/ILineStyle.js'; export { IRectangleBaseStyle } from './styles/interfaces/IRectangleBaseStyle.js'; export { IRectangleStyle } from './styles/interfaces/IRectangleStyle.js'; export { IShapeBaseStyle } from './styles/interfaces/IShapeBaseStyle.js'; export { IShapeStyle } from './styles/interfaces/IShapeStyle.js'; export { CanvasCursorStyle } from './styles/CanvasCursorStyle.js'; export { CanvasStyle } from './styles/CanvasStyle.js'; export { CircleStyle } from './styles/CircleStyle.js'; export { LineStyle } from './styles/LineStyle.js'; export { RectangleStyle } from './styles/RectangleStyle.js'; export { ShapeStyle } from './styles/ShapeStyle.js'; export { Angle } from './types/Angle.js'; export { Cursor } from './types/Cursor.js'; export { Mouse } from './types/Mouse.js'; export { MouseButton } from './types/MouseButton.js'; export { Point } from './types/Point.js'; export { Canvas } from './Canvas.js';