pencil.js
Version:
Nice modular interactive 2D drawing library.
28 lines (19 loc) • 463 B
Markdown
Arc shape.

```js
import { Arc } from "pencil.js";
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);
```
Inherit from [LineOptions](../line/readme.md
Arc have no specific options.