SVG <circle>
SVG বৃত্ত - <circle>
<circle>
এলিমেন্ট ব্যবহার করে বৃত্ত তৈরি করা হয়:
এটি SVG কোড:
প্রদত্তি
<svg height="100" width="100"> <circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" /> </svg>
کোড ব্যাখ্যা:
- cx 和 cy 属性定义圆心的 x 和 y 坐标。如果省略 cx 和 cy,则圆心设置为 (0,0)
- r 属性定义圆的半径