ZVON > References > Zvon Example Repository
Example repository: index | categories | search

All > SVG > Shapes > Drawing a stroked circle

The circle can be displayed using the circle element. Stroke color can be set using the stroke attribute. The width of the line is set using the stroke-width.


Output
Output - picture
SVG version


Source
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" >
     <circle cx="50" cy="50" r="20" fill="none" stroke="red" stroke-width="2"/>
</svg>