The <ellipse> element is an SVG basic shape, used to create ellipses based on a center coordinate, and both their x and y radius.
Note: Ellipses are unable to specify the exact orientation of the ellipse (if, for example, you wanted to draw an ellipse tilted at a 45 degree angle), but it can be rotated by using the transform attribute.
cxThe x position of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yescyThe y position of the ellipse. Value type: <length>|<percentage> ; Default value: 0; Animatable: yesrxThe radius of the ellipse on the x axis. Value type: auto|<length>|<percentage> ; Default value: auto; Animatable: yesryThe radius of the ellipse on the y axis. Value type: auto|<length>|<percentage> ; Default value: auto; Animatable: yespathLengthThis attribute lets specify the total length for the path, in user units. Value type: <number> ; Default value: none; Animatable: yes
Note: Starting with SVG2 cx, cy, rx and ry are Geometry Properties, meaning those attributes can also be used as CSS properties for that element.
CategoriesBasic shape element, Graphics element, Shape elementPermitted contentAny number of the following elements, in any order: Animation elements Descriptive elements