From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/fr/web/api/svgrectelement/index.html | 69 ++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 files/fr/web/api/svgrectelement/index.html (limited to 'files/fr/web/api/svgrectelement/index.html') diff --git a/files/fr/web/api/svgrectelement/index.html b/files/fr/web/api/svgrectelement/index.html new file mode 100644 index 0000000000..98104ed8b1 --- /dev/null +++ b/files/fr/web/api/svgrectelement/index.html @@ -0,0 +1,69 @@ +--- +title: SVGRectElement +slug: Web/API/SVGRectElement +translation_of: Web/API/SVGRectElement +--- +
{{APIRef("SVG")}}
+ +

L'interface SVGRectElement fournit un accès aux propriétés et aux méthodes de l'élément {{SVGElement("rect")}}.

+ +

{{InheritanceDiagram(600, 140)}}

+ +

Propriétés

+ +

Cette interface hérite aussi des propriétés de {{domxref("SVGGeometryElement")}}.

+ +
+
{{domxref("SVGRectElement.x")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("x")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.x")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}}  correspondant à l'attribut {{SVGAttr("x")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.y")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("y")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.width")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("width")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.height")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("height")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.rx")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("rx")}} de l'élément {{SVGElement("rect")}} donné.
+
{{domxref("SVGRectElement.ry")}} {{ReadOnlyInline}}
+
Retourne un {{domxref("SVGAnimatedLength")}} correspondant à l'attribut {{SVGAttr("ry")}} de l'élément {{SVGElement("rect")}} donné.
+
+ +

Méthode

+ +

Cette interface n'implémente pas de méthodes spécifiques mais elle hérite des méthodes parentes de {{domxref("SVGGeometryElement")}}.

+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName("SVG2", "shapes.html#InterfaceSVGRectElement", "SVGRectElement")}}{{Spec2('SVG2')}}Remplace l'héritage de {{domxref("SVGElement")}}{{domxref("SVGTests")}}, {{domxref("SVGLangSpace")}}, {{domxref("SVGExternalResourcesRequired")}}, {{domxref("SVGStylable")}} et {{domxref("SVGTransformable")}} par {{domxref("SVGGeometryElement")}}
{{SpecName("SVG1.1", "shapes.html#InterfaceSVGRectElement", "SVGRectElement")}}{{Spec2('SVG1.1')}}Définition initiale
+ +

Browser compatibility

+ + + +

{{Compat("api.SVGRectElement")}}

+ +

Voir aussi

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