1# ellipse 2 3 4> **NOTE** 5> 6> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version. 7 8The **\<ellipse>** component is used to draw oval shapes. 9 10## Required Permissions 11 12None 13 14 15## Child Components 16 17The following are supported: [\<animate>](js-components-svg-animate.md), [\<animateMotion>](js-components-svg-animatemotion.md), and [\<animateTransform>](js-components-svg-animatetransform.md). 18 19 20## Attributes 21 22The [universal attributes](js-components-svg-common-attributes.md) and the attributes listed below are supported. 23 24| Name| Type| Default Value| Mandatory| Description| 25| -------- | -------- | -------- | -------- | -------- | 26| id | string | - | No| Unique ID of the component.| 27| cx | <length>\|<percentage> | 0 | No| X-coordinate of the oval shape. Attribute animations are supported.| 28| cy | <length>\|<percentage> | 0 | No| Y-coordinate of the oval shape. Attribute animations are supported.| 29| rx | <length>\|<percentage> | 0 | No| Radius of the oval shape on the x-axis. Attribute animations are supported.| 30| ry | <length>\|<percentage> | 0 | No| Radius of the oval shape on the y-axis. Attribute animations are supported.| 31 32 33## Example 34 35```html 36<!-- xxx.hml --> 37<div class="container"> 38 <svg fill="white" width="400" height="400"> 39 <ellipse cx="60" cy="200" rx="50" ry="100" stroke-width="4" fill="red" stroke="blue"></ellipse> 40 <ellipse cx="220" cy="200" rx="100" ry="50" stroke-width="5" stroke="red" stroke-dasharray="10 5" stroke-dashoffset="3"></ellipse> 41 </svg> 42</div> 43``` 44 45 46 47