additive - SVG: Scalable Vector Graphics 编辑
The additive
attribute controls whether or not an 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.
Four elements are using this attribute: <animate>
, <animateColor>
, <animateMotion>
, and <animateTransform>
Usage notes
Value | replace | sum |
---|---|
Default value | replace |
Animatable | No |
- 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
andto
, as described in SMIL Animation: How from, to and by attributes affect additive behavior.
Specifications
Specification | Status | Comment |
---|---|---|
SVG Animations Level 2 The definition of 'additive' in that specification. | Editor's Draft | No change |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'additive' in that specification. | Recommendation | Initial definition |
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论