The polygon
element is a basic SVG shape that connects multuple points with straight lines. The first an last points are automatically connected.
A list of coordinate points. You can separate the coordinates or the x and y values with commas and spaces. The follwing are the same: 10,10 20,20
, 10 10, 20 20
, 10 10 20 20
, 10, 10, 20, 20
.
You can set any color value that is valid in CSS. This includes named colors, hex codes, the rgb function and more. Set it to none
to hide.
Set the thickness of the stroke. It can be set to any positive number.
Set the shape to be used at the end of a line or open subpath.
Set the shape to be used at the corners of paths and basic shapes when they are stroked.
You can set any color value that is valid in CSS. This includes named colors, hex codes, the rgb function and more. Set it to none
to hide.