confused in svg polygon points

Viewed 183

I am learning about SVG and only the concept of the x, y-axis is confusing in it for me, because -

My code -

<svg height="300" width="500" class="menu-icon">

<polygon points="100 0 , 0 -100 , 150 -150" style="fill:red;stroke:black; stroke- 
width:4;" />

</svg>

And When I plotted these points on the graph

It's clearly a polygon(triangle).
I am a newbie in SVG so please help me!

0 Answers
Related