Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 463 Bytes

readme.md

File metadata and controls

27 lines (19 loc) · 463 Bytes

Arc

Arc shape.

Arc example

Examples

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);

ArcOptions

Inherit from LineOptions.

Arc have no specific options.