Donner
C++20 SVG rendering library
Loading...
Searching...
No Matches
"<polygon>"

Creates a closed polygon with straight lines between the points, using the points attribute.

<polygon points="50,50 250,50 150,150 250,250 50,250" />

50,50 250,50 150,150 250,250 50,250

Attribute Default Description
points (none) List of points that make up the polygon, see Polyline/Polygon Points List.