Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

ellipse

Description

The ellipse element for SVG 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>

circle

line

polygon

polyline

rect

World Wide Web Consortium (W3C)

HomeMenu