Shape from a bunch of points.
import { Polygon } from "pencil.js";
const points = [pointA, pointB, pointC];
const options = {
fill: "red",
stroke: "#000"
};
const polygon = new Polygon(position, points, options);
Inherit from ComponentOptions.
Polygon have no specific options.