Revision 94747 of accumulate

  • Revision slug: SVG/Attribute/accumulate
  • Revision title: accumulate
  • Revision id: 94747
  • Created:
  • Creator: Jeremie
  • Is current revision? No
  • Comment page created, 117 words added

Revision Content

« SVG Attribute reference home

This attribute controls whether or not the animation is cumulative.

It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration. This attribute said to the animation if the value is added to the previous animated attribute's value on each iteration.

Usage context

Categories Animation addition attribute
Value none | sum
Animatable No
Normative document SVG 1.1 (2nd Edition)
sum
Specifies that each repeat iteration after the first builds upon the last value of the previous iteration.
none
Specifies that repeat iterations are not cumulative. This is the default.

Example

Elements

The following elements can use the additive attribute

  • {{ SVGElement("animate") }}
  • {{ SVGElement("animateColor") }}
  • {{ SVGElement("animateMotion") }}
  • {{ SVGElement("animateTransform") }}

Revision Source

<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>This attribute controls whether or not the animation is cumulative.</p>
<p>It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration. This attribute said to the animation if the value is added to the previous animated attribute's value on each iteration.</p>
<h2 id="Usage_context">Usage context</h2>
<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Animation addition attribute</td> </tr> <tr> <th scope="row">Value</th> <td><strong title="this is the default value">none</strong> | sum</td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/animate.html#AdditionAttributes" title="http://www.w3.org/TR/SVG/animate.html#AdditionAttributes">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<dl> <dt>sum</dt> <dd>Specifies that each repeat iteration after the first builds upon the last value of the previous iteration.</dd> <dt>none</dt> <dd>Specifies that repeat iterations are not cumulative. This is the default.</dd>
</dl>
<h2 id="Example">Example</h2>
<h2 id="Elements">Elements</h2>
<p>The following elements can use the <code>additive</code> attribute</p>
<ul> <li>{{ SVGElement("animate") }}</li> <li>{{ SVGElement("animateColor") }}</li> <li>{{ SVGElement("animateMotion") }}</li> <li>{{ SVGElement("animateTransform") }}</li>
</ul>
Revert to this revision