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

Valuereplace | sum
Default valuereplace
AnimatableNo
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.

Specifications

SpecificationStatusComment
SVG Animations Level 2
The definition of 'additive' in that specification.
Editor's DraftNo change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'additive' in that specification.
RecommendationInitial definition

See also

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:56 次

字数:2904

最后编辑:7 年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文