@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.
15 lines (14 loc) • 319 B
TypeScript
import { IShapeBaseStyle } from "./IShapeBaseStyle.js";
/**
* Represents the base style options for a line.
*/
export interface ILineBaseStyle extends IShapeBaseStyle {
/**
* The color of the line stroke.
*/
color?: string;
/**
* The width of the line stroke.
*/
width?: number;
}