ellipse
An ellipse can be stroked and filled. It can have the following attributes:
Attribute | Description |
---|---|
cx
|
The x-axis coordinate of the center of the ellipse 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 ellipse in the current user coordinate system. If the attribute is not specified, the default is 0. |
rx
|
The x-axis radius of the ellipse in the current user coordinate system. Must be zero or greater; if 0, the element will not be rendered. |
ry
|
The y-axis radius of the ellipse in the current user coordinate system. Must be zero 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
<ellipse cx="300" cy="300" rx="250" ry="100" style="stroke:blue;stroke-width:3" />