Pls what does the minus sign do in x2 do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Pls what does the minus sign do in x2 do?

<line x1 = "50" y1 = "100" x2 = "-100" y2 = "250"/>

19th Apr 2020, 4:08 PM
Alexx
Alexx - avatar
1 Answer
+ 5
It means the coordinate is negative You can use viewbox attribute of svg to adjust the viewbox to show negative coordinates.
19th Apr 2020, 4:11 PM
Gordon
Gordon - avatar