@pencil.js/arc

1.18.0 • Public • Published

Arc

Arc shape.

Arc example

Installation

npm install @pencil.js/arc

Examples

import Arc from "@pencil.js/arc";

const position = [100, 200];
const width = 50;
const height = 20;
const startAngle = -0.25;
const endAngle = 0.25;
const options = {
    stroke: "red",
};
const arc = new Arc(position, width, height, startAngle, endAngle, options);

ArcOptions

Inherit from LineOptions.

Arc have no specific options.

Readme

Keywords

Package Sidebar

Install

npm i @pencil.js/arc

Weekly Downloads

3

Version

1.18.0

License

MIT

Unpacked Size

4.91 kB

Total Files

4

Last publish

Collaborators

  • gmartigny