I cannot understand clearly about the html polygons and polyline, can anyone help me explaining it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I cannot understand clearly about the html polygons and polyline, can anyone help me explaining it?

The point measures and attributes are explained simply in fundamentals and cannot understand at all

15th Jul 2018, 5:43 AM
Akbar Ali
Akbar Ali - avatar
4 Answers
+ 2
The difference between polygon and polyline objects is that polygons have a starting and ending point that are automatically connected. A polyline does have a starting point but the ending point(s) have to be defined.
15th Jul 2018, 7:54 AM
Apple Blossom
Apple Blossom - avatar
+ 1
Something like this? "Polylines and polygons are used in SVG to create shapes that are made up of straight lines. The difference between a polygon and a polyline in SVG is that a polygon is a closed shape. If the last and first polygon points don't match then the shape is closed automatically." (citation: http://apike.ca/prog_svg_shapes2.html )
15th Jul 2018, 7:16 AM
Janning⭐
Janning⭐ - avatar
0
Thanks for janning and apple blossom. I want the measurement tips for x1, X2 etc. I cannot understand for what the x1 are or the x2 are... And the measurement of polygon (0 100, 200 0, 300 200).
15th Jul 2018, 8:51 AM
Akbar Ali
Akbar Ali - avatar
0
You can think of it like a connect-the-dots game on a cartesian graph. Maybe another link will help: http://www.svgbasics.com/lines.html
15th Jul 2018, 9:04 AM
Janning⭐
Janning⭐ - avatar