Don't understand"Points"..... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Don't understand"Points".....

<svg width="2000" height="500"> <polyline style="stroke-linejoin:miter; stroke:black; stroke-width:12; fill: none;" points="100 100, 150 150, 200 100" /> </svg>

27th Feb 2018, 3:31 PM
Serious Sam
Serious Sam - avatar
2 Answers
+ 4
@Sam The points attribute defines a list of points required to draw a  <polyline>  element. Each point is defined by a X and a Y coordinate in the user coordinate system. It's a common practice (but not required) to use a comma to mark out the X and Y coordinate of each point and to use space to mark out each point.
27th Feb 2018, 3:37 PM
Akash Pal
Akash Pal - avatar
+ 5
can u tell me about 100 100 ,150150 , 200 100 which one is x ory?
27th Feb 2018, 3:38 PM
Serious Sam
Serious Sam - avatar