Please tell me WHY IS IT SQUARE? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
26th Mar 2019, 8:01 AM
Poorva Mahesh Shukla
6 Answers
+ 12
Since your radius is higher than the area incorporated by the svg element, the circle overflows the svg area and all you see is the square area of svg with an overflown circle. Try setting the radius to 100 and you'd see that with the center at (100,80) in the svg area 200×200, the circle overflows at the top. P.S. Zlytherin and Rowsej I really respect you guys but I don't think you gave a valid answer. A higher radius is supported, you just couldn't see the output because of the parent svg tag. P.P.S. Both Rowsej & Zlytherin have deleted their answers. (You guys didn't need to do that. You could have edited it.)
26th Mar 2019, 8:21 AM
Kainatic [Mostly Inactive Now]
Kainatic [Mostly Inactive Now] - avatar
+ 11
Kainatic thanks for correcting us😊
26th Mar 2019, 8:34 AM
Letsintegreat
Letsintegreat - avatar
+ 8
Kainatic Wow! I didn’t think of that before!! Thanks!
26th Mar 2019, 8:24 AM
Rowsej
Rowsej - avatar
+ 7
Jacob Please don't spam Q&A
28th Mar 2019, 2:32 AM
Letsintegreat
Letsintegreat - avatar
0
Paryner jus try removing width and height
30th Mar 2019, 7:00 PM
Mk7
- 4
Hi
27th Mar 2019, 8:19 PM
Jacob