Square
Square shape.
Installation
npm install @pencil.js/square
Examples
import Square from "@pencil.js/square";
const position = [100, 200];
const size = 200;
const options = {
fill: "red",
stroke: "#000"
};
const square = new Square(position, size, options);
SquareOptions
Inherit from RectangleOptions.
Square have no specific options.