0
what is the difference between SVG size definition and the object's size?
Answer
4 Respostas
+ 1
You mean the width and height of the SVG vs the width and height of the shapes or graphic it contains?
+ 1
Okay.
From my understanding, the width and height attributes of the <svg> element defines the visible portion at a time of the svg while that of the shapes (rect for instance) defines the size graphic itself.
For instance, let's say I draw a <rect> that is 200px high and wide, while the <svg> is 100px high and wide. This can be interpreted as me trying to see a huge house (the shapes which are 200px high and wide) through a window (the svg which is 100px high and wide). But in this case, the house is not far away but at the same distance from you as the window.
+ 1
Thank you really very much
0
Yes sir, why state SVG height & width and the also the shapes width & height?
Isn't the SVG going to be the size of the shape/object we want to create?
Hope you understood my quest...