paths | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

paths

Can someone explain how <path d="M0 0 L0 100 L100 100 L100 0 Z"/> turns to a square?

13th May 2017, 12:32 PM
Lars Wong
Lars Wong - avatar
1 Answer
+ 3
Move to (x=0, y=0), Line to (x=0, y=100), Line to (x=100, y=100), Close path, back to first point.
13th May 2017, 12:44 PM
Adem Şahin
Adem Şahin - avatar