polygon constructor
const
polygon(})
The <polygon> element defines a closed shape consisting of a set of connected straight line segments. The last point is connected to the first point.
Implementation
const polygon(
this.children, {
this.points,
this.fill,
this.stroke,
this.strokeWidth,
this.id,
this.classes,
this.styles,
this.attributes,
this.events,
super.key,
});