<ellipse>
Define an oval contour in a registered local box.
An ellipse's registration box is twice the horizontal radius wide and twice the vertical radius high.
Syntax
Resize an off-center ellipse with an attached marker
At frame 4 the horizontal radius is 8 and the vertical radius is 4. After the shape’s rotation, the ellipse center is at (60, 44) and the blue marker stays on the sampled box edge at (60, 52).
<ellipse rx="8" ry="4" anchor-v="-0.5" offset-x="16" offset-y="-4">
<animate attributeName="rx" fill="freeze">
<key frame="0" value="0" ease="linear"/>
<key frame="8" value="16"/>
</animate>
<animate attributeName="offset-x" fill="freeze">
<key frame="0" value="12" ease="linear"/>
<key frame="8" value="28"/>
</animate>
<animate attributeName="anchor-u" fill="freeze">
<key frame="0" value="0" ease="linear"/>
<key frame="8" value="1"/>
</animate>
</ellipse>Complete .nothing source · Sample checks
Usage context
Allowed parents are <shape>.
Inherits from Geometry.
Includes Registration.
Attributes
rx
Value local units · Required · Keys Scalar
Nonnegative horizontal radius. Zero produces no filled area.
ry
Value local units · Required · Keys Scalar
Nonnegative vertical radius. Zero produces no filled area.
anchor-u
Value fraction of width · If omitted 0.5 · Keys Scalar · Declared by Registration
Horizontal registration. Zero selects the left edge and one the right edge. Values outside that interval extrapolate.
anchor-v
Value fraction of height · If omitted 0.5 · Keys Scalar · Declared by Registration
Vertical registration. Zero selects the top edge and one the bottom edge. Values outside that interval extrapolate.
offset-x
Value local units · If omitted 0 · Keys Scalar · Declared by Registration
Horizontal coordinate of the registered point.
offset-y
Value local units · If omitted 0 · Keys Scalar · Declared by Registration
Vertical coordinate of the registered point.
Children
| Elements | Cardinality | Declared by | Role and source order |
|---|---|---|---|
<animate> | Zero or more | Animation | A track targets one keyable property on this owner. For equal first-key times, the later track in document order wins. Evaluating animation tracks |