# ellipse element

Type: | Images and Specials
Attributes: | align • background-color • background-image-dpi • background-image-position • background-image • background-pdf • border-color • border-style • border-width • border • clear • corner-radius • display • float • font-size • height • href • left • line-cap • line-height • line-join • margin • onmouseover • overflow • padding • page-break-after • page-break-inside • position • rotate • size • top • vertical-align • visibility • white-space • width • class • colorspace • direction • id • lang
See: | circle div pdf shape

The ellipse element draws an ellipse into the pdf, and is a regular block element.
As such it may have padding, margin and border attributes like any other block element (although the corner-radius is ignored). It should also have it's width and height specified to set the size of the ellipse. If the ellipse has children, document authors should also consider setting the overflow attribute.
Like any other block element, it will be drawn and colored using it's border-color and background-color / background-image / background-pdf as appropriate.

    <ellipse width="100" height="50" border="1" background-color="red"/>