+ 3

HTML polygonsand polylines

Please, advise if it is possible to create an SVG element polygon with the different stroke width. Or is it better to use multiple polylines? If so, how can we make all angles of the figure look properly, without any indentations or protrusions? For example, a triangle must have two 4px lines and one 6px. Would that be possible? Thank you in advance!

19th Mar 2019, 8:27 PM
Nadiia Shtarova
Nadiia Shtarova - avatar
1 Answer
+ 8
Hmm, I don’t think that’s possible. Better use multiple polylines, as you said.
19th Mar 2019, 8:54 PM
Rowsej
Rowsej - avatar