Menu Home

ellipse

osbo.com | SVG | Elements | ellipse

The ellipse SVG element specifies an ellipse which is axis-aligned with the current user coordinate system based on a center point and two radii.

Syntax

Attributes

cx

Specifies the x-coordinate of the center of the element.

Value
<length-percentage>
Default
0

cy

Specifies the y-coordinate of the center of the element.

Value
<length-percentage>
Default
0

pathLength

Specifies the total length of the path in user units.

Value
<number>
Default
(none)

rx

Specifies the x-axis of the radius of the element.

Value
auto | <length-percentage>
Default
auto

ry

Specifies the y-axis of the radius of the element.

Value
auto | <length-percentage>
Default
auto

Examples

cx

<length-percentage>

cy

<length-percentage>

pathLength

<number>

rx

auto

<length-percentage>

ry

auto

<length-percentage>

Internal

circle

line

polygon

polyline

rect

External

World Wide Web Consortium (W3C)