aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/accumulate/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/svg/attribute/accumulate/index.html
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/svg/attribute/accumulate/index.html')
-rw-r--r--files/zh-cn/web/svg/attribute/accumulate/index.html58
1 files changed, 58 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/accumulate/index.html b/files/zh-cn/web/svg/attribute/accumulate/index.html
new file mode 100644
index 0000000000..8a779fd704
--- /dev/null
+++ b/files/zh-cn/web/svg/attribute/accumulate/index.html
@@ -0,0 +1,58 @@
+---
+title: accumulate
+slug: Web/SVG/Attribute/accumulate
+tags:
+ - SVG
+ - SVG属性
+ - 需要兼容性表
+ - 需要示例
+translation_of: Web/SVG/Attribute/accumulate
+---
+<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG属性参考主页</a></p>
+
+<p>该属性控制了动画是否是累加的。</p>
+
+<p>在原来的结果的基础上重复动画的时候,它通常很有用,每一次循环都累加。这个属性告诉动画是否是每次循环,前一个动画属性值要加上去。</p>
+
+<h2 id="用法">用法</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="row">类别</th>
+ <td>动画累加属性</td>
+ </tr>
+ <tr>
+ <th scope="row">值</th>
+ <td><strong title="this is the default value">none</strong> | sum</td>
+ </tr>
+ <tr>
+ <th scope="row">可变性</th>
+ <td>No</td>
+ </tr>
+ <tr>
+ <th scope="row">规范文档</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>指定第一次循环后的每次循环建立在上次循环的终值上。</dd>
+ <dt>none</dt>
+ <dd>指定重复循环是不累加的。这是默认值。</dd>
+</dl>
+
+<h2 id="示例">示例</h2>
+
+<h2 id="元素">元素</h2>
+
+<p>以下元素可以使用<code>additive</code>属性:</p>
+
+<ul>
+ <li>{{ SVGElement("animate") }}</li>
+ <li>{{ SVGElement("animateColor") }}</li>
+ <li>{{ SVGElement("animateMotion") }}</li>
+ <li>{{ SVGElement("animateTransform") }}</li>
+</ul>