@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.
25 lines (24 loc) • 685 B
TypeScript
import { ICircleOptions } from "./interfaces/ICircleOptions.js";
/**
* Options for configuring the behavior of a circle shape.
*/
export declare class CircleOptions implements ICircleOptions {
/**
* Determines if the shape should be visible or not.
*/
visible: boolean;
/**
* Determines if the shape can be dragged by mouse.
*/
draggable: boolean;
/**
* Default options for the circle.
*/
static readonly DefaultOptions: ICircleOptions;
/**
* Creates a new instance of ICircleOptions.
*
* @param options - The partial options provided by the user.
*/
constructor(options?: Partial<ICircleOptions>);
}