@pencil.js/circle

1.18.0 • Public • Published

Circle

Circle shape.

Circle example

Installation

npm install @pencil.js/circle

Examples

import Circle from "@pencil.js/circle";

const position = [100, 200];
const radius = 50;
const options = {
    fill: "red",
    stroke: "#000"
};
const circle = new Circle(position, radius, options);

CircleOptions

Inherit from EllipseOptions.

Circle have no specific options.

Readme

Keywords

Package Sidebar

Install

npm i @pencil.js/circle

Weekly Downloads

46

Version

1.18.0

License

MIT

Unpacked Size

4.12 kB

Total Files

4

Last publish

Collaborators

  • gmartigny