You can use the <circle> tag to create a circle.
|
A D V E R T I S E M E N T
The <circle> Tag
|
|
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<circle cx="200" cy="100" r="50" stroke="black"
stroke-width="2" fill="blue"/>
</svg>
|
|
Explanation of the code:
|
The cx and cy attribute defines the x and y
coordinates of the center of the circle. If cx and
cy are omitted, the circle's center is set to (0, 0)
The r attribute define the radius of the circle
|
Be the first one to comment on this page.
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords:
svg viewer, svg file, svg text, svg editor, adobe svg, svg distribution,
svg graphics, nbc radio svg, javascript svg, svg antivirus
|