additive
additive
属性控制动画是否为累加的。
定义动画作为属性值的偏移量或增量,而不是绝对值,这通常很有用。
你可以将此属性与以下 SVG 元素一起使用
用法说明
值 | replace | sum |
---|---|
默认值 | replace |
可动画的 | 否 |
- sum
-
指定动画将加到属性的底层值和其他低优先级动画上。
- replace
-
指定动画将覆盖属性的底层值和其他低优先级动画。这是默认行为,但行为也会受到动画值属性
by
和to
的影响,如 SMIL Animation: How from, to and by attributes affect additive behavior 中所述。
规范
规范 |
---|
SVG 动画级别 2 # AdditiveAttribute |