1.6.1. SVG circle-
<circle>
¶
<circle>
The label can be used to create a circle:
Here is the SVG code: For Opera users: view the SVG file (right-click the SVG drawing preview source). Code parsing: The r attribute defines the radius of the circleExample ¶
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<circle cx="100" cy="50" r="40" stroke="black"
stroke-width="2" fill="red"/>
</svg>
cx
and
cy
property defines the x and y coordinates of the dot. If omitted
cx
and
cy
the center of the circle will be set to (0,0)