@pencil.js/star
v1.18.0
Published
Star shape for Pencil.js package.
Readme
Star
Star shape.

Installation
npm install @pencil.js/starExamples
import Star from "@pencil.js/star";
const position = [100, 200];
const radius = 50;
const branches = 6;
const bevel = 0.7;
const options = {
fill: "gold",
stroke: "goldendrod"
};
const star = new Star(position, radius, branches, bevel, options);StarOptions
Inherit from RegularPolygonOptions.
Star have no specific options.
