I don't understand the positioning of a line in the svg tag | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I don't understand the positioning of a line in the svg tag

width, height, x1, y1, x2, y2.

16th Sep 2017, 7:04 AM
Chinemerem Okpuruka
Chinemerem Okpuruka - avatar
2 Answers
16th Sep 2017, 7:20 AM
Calviղ
Calviղ - avatar
+ 1
Always remember the Coordinate Graphing method. x axis = horizontal line y axis = vertical line x1/y1 is your starting point and x2/y2 is your ending point. hope this helps. keep practicing. :)
23rd Sep 2017, 10:39 PM
Jay Martin Tristan Santos
Jay Martin Tristan Santos - avatar