Equiangular and equilateral convex polygon.
import { RegularPolygon } from "pencil.js";
const nbSides = 7;
const radius = 100;
const options = {
fill: "gold",
stroke: "#000"
};
const heptagon = new RegularPolygon(center, nbSides, radius, options);
Inherit from PolygonOptions.
Polygon have no specific options.