- 1

# Anyone to help me understand polygon points in SVG very well.

The values like 100 200,40 100,0 .how do they bring up a shape of a polygon.

2 Answers

+ 1

The coordinate system for SVG is made up of one quadrant, where (0, 0) starts in the top-left corner. As you go left, x-values increase positively, and as you go down, y-values increase. With this information, let's take a look at creating a polygon. When you provide the polygon element with a set of points, it takes these points, plots them on the coordinate system we just talked about, and connects them from first to last.

0

Did you mean to say "As you go right, x-values increase positively ..." Jianmin Chen ?