+ 3
How can I make a polygon with svg?
Like a penthagon
2 Respostas
+ 6
<svg width="2000" height="500">
<polygon points="100 100,200 200,300 0" style="fill:red;stroke:blue;"/>
</svg>
+ 2
Use SVG's polygon tag.
This introduces it:
https://www.w3schools.com/graphics/svg_polygon.asp
Here is someone else's example on Sololearn using it to draw a pentagon:
https://code.sololearn.com/WOC51g344Yka/#html