From d819be289bd9e57048301d9b2aa62f2dc27d11a4 Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 18 Mar 2021 00:27:02 +0000 Subject: [CRON] sync translated content --- files/zh-cn/_redirects.txt | 1 + files/zh-cn/_wikihistory.json | 12 ++--- .../svggeometryelement/gettotallength/index.html | 51 ++++++++++++++++++++++ .../api/svgpathelement/gettotallength/index.html | 50 --------------------- 4 files changed, 58 insertions(+), 56 deletions(-) create mode 100644 files/zh-cn/web/api/svggeometryelement/gettotallength/index.html delete mode 100644 files/zh-cn/web/api/svgpathelement/gettotallength/index.html (limited to 'files') diff --git a/files/zh-cn/_redirects.txt b/files/zh-cn/_redirects.txt index 4dd016de6b..0b55f0b1d6 100644 --- a/files/zh-cn/_redirects.txt +++ b/files/zh-cn/_redirects.txt @@ -1730,6 +1730,7 @@ /zh-CN/docs/Web/API/RandomSource /zh-CN/docs/conflicting/Web/API/Crypto/getRandomValues /zh-CN/docs/Web/API/RandomSource/getRandomValues /zh-CN/docs/Web/API/Crypto/getRandomValues /zh-CN/docs/Web/API/Response/克隆 /zh-CN/docs/Web/API/Response/clone +/zh-CN/docs/Web/API/SVGPathElement/getTotalLength /zh-CN/docs/Web/API/SVGGeometryElement/getTotalLength /zh-CN/docs/Web/API/Screen.availHeight /zh-CN/docs/Web/API/Screen/availHeight /zh-CN/docs/Web/API/Screen.availLeft /zh-CN/docs/Web/API/Screen/availLeft /zh-CN/docs/Web/API/Screen.availTop /zh-CN/docs/Web/API/Screen/availTop diff --git a/files/zh-cn/_wikihistory.json b/files/zh-cn/_wikihistory.json index 5bc5b5ff3b..7d55c398e5 100644 --- a/files/zh-cn/_wikihistory.json +++ b/files/zh-cn/_wikihistory.json @@ -18192,12 +18192,6 @@ "fanxiaojie" ] }, - "Web/API/SVGPathElement/getTotalLength": { - "modified": "2020-10-15T22:32:52.448Z", - "contributors": [ - "tiny-gravel" - ] - }, "Web/API/SVGSVGElement": { "modified": "2020-10-15T22:20:08.511Z", "contributors": [ @@ -50798,5 +50792,11 @@ "bei6", "iainreid629" ] + }, + "Web/API/SVGGeometryElement/getTotalLength": { + "modified": "2020-10-15T22:32:52.448Z", + "contributors": [ + "tiny-gravel" + ] } } \ No newline at end of file diff --git a/files/zh-cn/web/api/svggeometryelement/gettotallength/index.html b/files/zh-cn/web/api/svggeometryelement/gettotallength/index.html new file mode 100644 index 0000000000..c287e3975a --- /dev/null +++ b/files/zh-cn/web/api/svggeometryelement/gettotallength/index.html @@ -0,0 +1,51 @@ +--- +title: SVGPathElement.getTotalLength() +slug: Web/API/SVGGeometryElement/getTotalLength +translation_of: Web/API/SVGPathElement/getTotalLength +original_slug: Web/API/SVGPathElement/getTotalLength +--- +
{{APIRef("SVG")}}
+ +

 SVGPathElement.getTotalLength() 该方法返回用户代理对路径总长度(以用户单位为单位)的计算值。

+ +
+

注意:在SVG 2中,该方法被移动到 {{DOMxRef("SVGGeometryElement")}} 接口,由 {{DOMxRef("SVGPathElement")}} 继承。

+
+ +

语法

+ +
float someElement.getTotalLength();
+
+ +

返回值

+ +

指示路径总长度(以用户单位为单位)的浮点数。

+ +

规格

+ + + + + + + + + + + + + + +
规格状态注解
{{SpecName("SVG1.1", "paths.html#__svg__SVGPathElement__getTotalLength", "SVGPathElement.getTotalLength()")}}{{Spec2("SVG1.1")}}最初的定义
+ +

浏览器兼容性

+ + + +

{{Compat("api.SVGPathElement.getTotalLength")}}

+ +

另请参阅

+ + diff --git a/files/zh-cn/web/api/svgpathelement/gettotallength/index.html b/files/zh-cn/web/api/svgpathelement/gettotallength/index.html deleted file mode 100644 index 1bebff440c..0000000000 --- a/files/zh-cn/web/api/svgpathelement/gettotallength/index.html +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: SVGPathElement.getTotalLength() -slug: Web/API/SVGPathElement/getTotalLength -translation_of: Web/API/SVGPathElement/getTotalLength ---- -
{{APIRef("SVG")}}
- -

 SVGPathElement.getTotalLength() 该方法返回用户代理对路径总长度(以用户单位为单位)的计算值。

- -
-

注意:在SVG 2中,该方法被移动到 {{DOMxRef("SVGGeometryElement")}} 接口,由 {{DOMxRef("SVGPathElement")}} 继承。

-
- -

语法

- -
float someElement.getTotalLength();
-
- -

返回值

- -

指示路径总长度(以用户单位为单位)的浮点数。

- -

规格

- - - - - - - - - - - - - - -
规格状态注解
{{SpecName("SVG1.1", "paths.html#__svg__SVGPathElement__getTotalLength", "SVGPathElement.getTotalLength()")}}{{Spec2("SVG1.1")}}最初的定义
- -

浏览器兼容性

- - - -

{{Compat("api.SVGPathElement.getTotalLength")}}

- -

另请参阅

- - -- cgit v1.2.3-54-g00ecf