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.

14 lines (13 loc) 273 B
/** * Represents options for configuring the zoom behavior. */ export interface IZoomOptions { /** * The step value for zoom increments. */ step?: number; /** * Whether zooming with the mouse wheel is enabled. */ useWheel?: boolean; }