Pls what does the minus sign do in x2 do? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
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 Antwort
+ 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