Star shape.
import { Star } from "pencil.js";
const position = [100, 200];
const nbBranches = 6;
const radius = 50;
const bevel = 0.7;
const options = {
fill: "gold",
stroke: "goldendrod"
};
const star = new Star(position, nbBranches, radius, bevel, options);
Inherit from RegularPolygonOptions.
Star have no specific options.