aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/calcmode
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2021-07-28 12:32:33 -0400
committerGitHub <noreply@github.com>2021-07-29 00:32:33 +0800
commit6d3234e3f9ff37cbd766dc00c607828ad6f34a53 (patch)
tree1fd72c8daa9ab98415f1fc0cad527ce0c5df2552 /files/zh-cn/web/svg/attribute/calcmode
parent43a2fc260b557fa0f6f2a3c1d9da94d61fa9b732 (diff)
downloadtranslated-content-6d3234e3f9ff37cbd766dc00c607828ad6f34a53.tar.gz
translated-content-6d3234e3f9ff37cbd766dc00c607828ad6f34a53.tar.bz2
translated-content-6d3234e3f9ff37cbd766dc00c607828ad6f34a53.zip
remove link 'title' attributes that's just the 'href' (zh-cn, part 2) (#1730)
* remove link 'title' attributes that's just the 'href' (zh-cn, part 2) * more fixes
Diffstat (limited to 'files/zh-cn/web/svg/attribute/calcmode')
-rw-r--r--files/zh-cn/web/svg/attribute/calcmode/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/svg/attribute/calcmode/index.html b/files/zh-cn/web/svg/attribute/calcmode/index.html
index dc03724a62..fd2766639e 100644
--- a/files/zh-cn/web/svg/attribute/calcmode/index.html
+++ b/files/zh-cn/web/svg/attribute/calcmode/index.html
@@ -6,7 +6,7 @@ translation_of: Web/SVG/Attribute/calcMode
<p>« <a href="/en/SVG/Attribute" title="en/SVG/Attribute">SVG Attribute reference home</a></p>
<p>This attribute specifies the interpolation mode for the animation. The default mode is <strong>linear</strong>, however if the attribute does not support linear interpolation (e.g. for strings), the <code>calcMode</code> attribute is ignored and discrete interpolation is used.</p>
<h2 id="Usage_context">Usage context</h2>
-<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Animation value attribute</td> </tr> <tr> <th scope="row">Value</th> <td>discrete | linear | paced | spline</td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/animate.html#CalcModeAttribute" title="http://www.w3.org/TR/SVG/animate.html#CalcModeAttribute">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
+<table class="standard-table"> <tbody> <tr> <th scope="row">Categories</th> <td>Animation value attribute</td> </tr> <tr> <th scope="row">Value</th> <td>discrete | linear | paced | spline</td> </tr> <tr> <th scope="row">Animatable</th> <td>No</td> </tr> <tr> <th scope="row">Normative document</th> <td><a class="external" href="http://www.w3.org/TR/SVG/animate.html#CalcModeAttribute">SVG 1.1 (2nd Edition)</a></td> </tr> </tbody>
</table>
<dl> <dt>discrete</dt> <dd>This specifies that the animation function will jump from one value to the next without any interpolation.</dd> <dt>linear</dt> <dd>Simple linear interpolation between values is used to calculate the animation function. Except for {{ SVGElement("animateMotion") }}, this is the default value.</dd> <dt>paced</dt> <dd>Defines interpolation to produce an even pace of change across the animation. This is only supported for values that define a linear numeric range, and for which some notion of "distance" between points can be calculated (e.g. position, width, height, etc.). If paced is specified, any {{ SVGAttr("keyTimes") }} or {{ SVGAttr("keySplines") }} will be ignored. For {{ SVGElement("animateMotion") }}, this is the default value.</dd> <dt>spline</dt> <dd>Interpolates from one value in the {{ SVGAttr("values") }} list to the next according to a time function defined by a cubic Bézier spline. The points of the spline are defined in the {{ SVGAttr("keyTimes") }} attribute, and the control points for each interval are defined in the {{ SVGAttr("keySplines") }} attribute.</dd>
</dl>