SVG <circle>


Release date:2023-12-05 Update date:2023-12-06 Editor:admin View counts:122

Label:

SVG <circle>

SVG circle- <circle>

<circle> The label can be used to create a circle:

Here is the SVG code:

Example

<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>

For Opera users: view the SVG file (right-click the SVG drawing preview source).

Code parsing:

  • 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)

  • The r attribute defines the radius of the circle

Powered by TorCMS (https://github.com/bukun/TorCMS).