SVG <circle>
- Previous page SVG rectangle
- Next page SVG ellipse
دایره 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 da cy attributes define the x and y coordinates of the circle center. If cx and cy are omitted, the circle center is set to (0,0)
- The r attribute defines the radius of the circle. If r is omitted, the circle center is set to (0,0)
- Previous page SVG rectangle
- Next page SVG ellipse