diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt
index 8169f0c4e310e32..be461ec448c0156 100644
--- a/files/en-us/_redirects.txt
+++ b/files/en-us/_redirects.txt
@@ -8692,8 +8692,11 @@
/en-US/docs/Web/API/SVGElement/onscroll /en-US/docs/Web/API/GlobalEventHandlers/onscroll
/en-US/docs/Web/API/SVGElement/onselect /en-US/docs/Web/API/GlobalEventHandlers/onselect
/en-US/docs/Web/API/SVGElement/onsubmit /en-US/docs/Web/API/GlobalEventHandlers/onsubmit
-/en-US/docs/Web/API/SVGGeometryElement/getTotalPathLength /en-US/docs/Web/API/SVGPathElement/getTotalLength
+/en-US/docs/Web/API/SVGGeometryElement/getTotalPathLength /en-US/docs/Web/API/SVGGeometryElement/pathLength
/en-US/docs/Web/API/SVGGraphicsElement/SVGGraphicsElement:_cut_event /en-US/docs/Web/API/SVGGraphicsElement/cut_event
+/en-US/docs/Web/API/SVGPathElement/getPointAtLength /en-US/docs/Web/API/SVGGeometryElement/getPointAtLength
+/en-US/docs/Web/API/SVGPathElement/getTotalLength /en-US/docs/Web/API/SVGGeometryElement/getTotalLength
+/en-US/docs/Web/API/SVGPathElement/pathLength /en-US/docs/Web/API/SVGGeometryElement/pathLength
/en-US/docs/Web/API/Screen.availHeight /en-US/docs/Web/API/Screen/availHeight
/en-US/docs/Web/API/Screen.availLeft /en-US/docs/Web/API/Screen/availLeft
/en-US/docs/Web/API/Screen.availTop /en-US/docs/Web/API/Screen/availTop
diff --git a/files/en-us/web/api/svggeometryelement/getpointatlength/index.html b/files/en-us/web/api/svggeometryelement/getpointatlength/index.html
index 519618302bd1f41..a2edeea6d9ac5fe 100644
--- a/files/en-us/web/api/svggeometryelement/getpointatlength/index.html
+++ b/files/en-us/web/api/svggeometryelement/getpointatlength/index.html
@@ -16,12 +16,6 @@
SVGGeometryElement.getPointAtLength()
method returns the
point at a given distance along the path.
Note: This method was originally part of the - {{domxref("SVGPathElement")}} interface. SVG 2 introduced the - {{domxref("SVGGeometryElement")}} interface and moved the property to it.
-DOMPoint someElement.getPointAtLength(float distance); diff --git a/files/en-us/web/api/svggeometryelement/gettotallength/index.html b/files/en-us/web/api/svggeometryelement/gettotallength/index.html index 0998f9a41772cf3..ead26a4ce60c1d6 100644 --- a/files/en-us/web/api/svggeometryelement/gettotallength/index.html +++ b/files/en-us/web/api/svggeometryelement/gettotallength/index.html @@ -15,12 +15,6 @@The
-SVGGeometryElement.getTotalLength()
method returns the user agent's computed value for the total length of the path in user units.--Note: This method was originally part of the - {{domxref("SVGPathElement")}} interface. SVG 2 introduced the - {{domxref("SVGGeometryElement")}} interface and moved the property to it.
-Syntax
float someElement.getTotalLength(); diff --git a/files/en-us/web/api/svggeometryelement/index.html b/files/en-us/web/api/svggeometryelement/index.html index ddd5ca06e421f33..96f2214c2394cab 100644 --- a/files/en-us/web/api/svggeometryelement/index.html +++ b/files/en-us/web/api/svggeometryelement/index.html @@ -15,10 +15,6 @@{{InheritanceDiagram(600, 140)}}
---Note: The
-pathLength
property and thegetTotalLength()
andgetPointAtLength()
methods were originally part of the {{domxref("SVGPathElement")}} interface. In SVG 2 they were moved to this interface.Properties
This interface also inherits properties from its parent, {{domxref("SVGGraphicsElement")}}.
diff --git a/files/en-us/web/api/svggeometryelement/pathlength/index.html b/files/en-us/web/api/svggeometryelement/pathlength/index.html index 9a910af5647f822..3fdd6711c22ac32 100644 --- a/files/en-us/web/api/svggeometryelement/pathlength/index.html +++ b/files/en-us/web/api/svggeometryelement/pathlength/index.html @@ -16,12 +16,6 @@ {{SVGAttr("pathLength")}} attribute and returns the total length of the path, in user units. ---Note: This property was originally part of the - {{domxref("SVGPathElement")}} interface. SVG 2 introduced the - {{domxref("SVGGeometryElement")}} interface and moved the property to it.
-Syntax
var pathLength = someElement.pathLength; diff --git a/files/en-us/web/api/svgpathelement/getpointatlength/index.html b/files/en-us/web/api/svgpathelement/getpointatlength/index.html deleted file mode 100644 index ec17ca29c26a6ae..000000000000000 --- a/files/en-us/web/api/svgpathelement/getpointatlength/index.html +++ /dev/null @@ -1,66 +0,0 @@ ---- -title: SVGPathElement.getPointAtLength() -slug: Web/API/SVGPathElement/getPointAtLength -tags: -- API -- DOM -- Deprecated -- Method -- NeedsExample -- Reference -- SVG -- SVG DOM ---- -The -
- -SVGPathElement.getPointAtLength()
method returns the - point at a given distance along the path.-- -Note: In SVG 2 this property was moved to the - {{DOMxRef("SVGGeometryElement")}} interface, from which the - {{DOMxRef("SVGPathElement")}} inherits it.
-Syntax
- -SVGPoint someElement.getPointAtLength(float distance); -- -Parameters
- -
An {{DOMxRef("SVGPoint")}} indicating the point at a given distance along the path.
- -Specification | -Status | -Comment | -
---|---|---|
{{SpecName("SVG1.1", "paths.html#__svg__SVGPathElement__getPointAtLength", - "SVGPathElement.getTotalLength()")}} | -{{Spec2("SVG1.1")}} | -Initial definition | -
{{Compat("api.SVGPathElement.getPointAtLength")}}
- -The
- SVGPathElement.getTotalLength()
method returns the user
- agent's computed value for the total length of the path in user units.
Note: In SVG 2 this method was moved to the - {{DOMxRef("SVGGeometryElement")}} interface, from which the - {{DOMxRef("SVGPathElement")}} inherits it.
-float someElement.getTotalLength(); -- -
A float indicating the total length of the path in user units.
- -Specification | -Status | -Comment | -
---|---|---|
{{SpecName("SVG1.1", "paths.html#__svg__SVGPathElement__getTotalLength", - "SVGPathElement.getTotalLength()")}} | -{{Spec2("SVG1.1")}} | -Initial definition | -
{{Compat("api.SVGPathElement.getTotalLength")}}
- -This interface also inherits properties from its parent, {{domxref("SVGGeometryElement")}}.
- -An {{domxref("SVGAnimatedNumber")}} corresponding to the {{SVGAttr("pathLength")}} attribute of the given {{SVGElement("path")}} element.
- -This interface inherits properties from its parent, {{domxref("SVGGeometryElement")}}.
This interface also inherits methods from its parent, {{domxref("SVGGeometryElement")}}.
Returns a float representing the computed value for the total length of the path using the browser's distance-along-a-path algorithm, as a distance in the current user coordinate system.
- -Returns an {{domxref("SVGPoint")}} representing the x and y coordinates in user space utilizing the browser's distance-along-a-path algorithm.
- -The SVGPathElement.pathLength
- property reflects the {{SVGAttr("pathLength")}} attribute and returns the total length
- of the path, in user units.
Note: In SVG 2 this property was moved to the - {{DOMxRef("SVGGeometryElement")}} interface, from which the - {{DOMxRef("SVGPathElement")}} inherits it.
-var pathLength = someElement.pathLength; -- -
Specification | -Status | -Comment | -
---|---|---|
{{SpecName("SVG1.1", "paths.html#__svg__SVGPathElement__pathLength", - "SVGPathElement.pathLength")}} | -{{Spec2("SVG1.1")}} | -Initial definition | -
{{Compat("api.SVGPathElement.pathLength")}}
- -