|
|
Donner SVG 0.8.0-pre
SVG editor and embeddable C++20 engine.
|
Sets an attribute to a discrete value for the duration of an animation.
<set> is the simplest SVG animation element. It sets a target attribute to a specified value when the animation is active. Unlike <animate>, it does not interpolate between values.
| Attribute | Support |
|---|---|
| attributeName | Attribute to replace during the active interval. |
| to | Replacement value. |
| href, xlink:href | Optional target; otherwise the parent element is targeted. |
| Shared timing | begin, dur, end, fill, repeatCount, repeatDur, restart, min, and max. |
The default fill="remove" restores the underlying value after the active interval; fill="freeze" keeps the replacement. Event and syncbase timing are not resolved yet.