svg height and width significantly bigger than the object | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

svg height and width significantly bigger than the object

What exactly is svg height and width defining? And why in the posted examples is the svg height and width significantly larger than that of the object we are creating?

4th Jun 2018, 5:08 PM
Adam Sisk
3 ответов
+ 1
svg height and width is use to specify drawing space. it makes sense that the space available should be big enough to contain the object to be drawn.
6th Jun 2018, 5:54 AM
E_E Mopho
E_E Mopho - avatar
+ 2
so the svg size can big as big or small as we want as long as its big enough for the object tofit?
7th Jun 2018, 5:29 PM
Adam Sisk
+ 2
yeah
7th Jun 2018, 6:12 PM
E_E Mopho
E_E Mopho - avatar