Mozilla's getting a new look. What do you think? https://mzl.la/brandsurvey

additive

我們的志工尚未將此文章翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!

« SVG Attribute reference home

This attribute controls whether or not the animation is additive.

It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values. This attribute said to the animation if their values are added to the original animated attribute's value.

Usage context

Categories Animation addition attribute
Value replace | sum
Animatable No
Normative document SVG 1.1 (2nd Edition)
sum
Specifies that the animation will add to the underlying value of the attribute and other lower priority animations.
replace
Specifies that the animation will override the underlying value of the attribute and other lower priority animations. This is the default, however the behavior is also affected by the animation value attributes by and to, as described in SMIL Animation: How from, to and by attributes affect additive behavior.

Example

Elements

The following elements can use the additive attribute

文件標籤與貢獻者

 此頁面的貢獻者: Jeremie
 最近更新: Jeremie,