circle

A circle can be stroked and filled. It can have the following attributes:

Attribute Description
cx The x-axis coordinate of the center of the circle in the current user coordinate system. If the attribute is not specified, the default is 0.
cy The y-axis coordinate of the center of the circle in the current user coordinate system. If the attribute is not specified, the default is 0.
r The radius of the circle in the current user coordinate system. Must be 0 or greater; if 0, the element will not be rendered.
transform See Transformations. This attribute is applied to an element before any other coordinate or length values supplied for that element are processed.

Example:

Copy
<circle cx="60" cy="60" r="30" style="fill:red;stroke:blue;stroke-width:3" />