+ 1

What is the difference between the (height width) and (x and y)

what is the observational difference between the (width and height) and (x and y) of the svg tag and rect tag.. there is a width and height in the rect tag as well as the svg tag. also there is the x and y too.. in the rect and what do they specify

22nd Jun 2017, 9:04 AM
Otumian Empire
Otumian Empire - avatar
2 Antworten
+ 2
Width and height is normally like width and height of div and other elements ------------------ We can say that X is the left margin And Y is the top margin
22nd Jun 2017, 9:11 AM
Rajeev Jain
Rajeev Jain - avatar
0
x and y are the position of the graphic and width and height are the dimensions.
28th Jun 2017, 5:55 PM
Anthony Bonello