@pencil.js/square
v1.18.0
Published
Square shape for Pencil.js package.
Readme
Square
Square shape.

Installation
npm install @pencil.js/squareExamples
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.
