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/svgrect/index.html | 134 ++++++++++++++++++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 files/fr/web/api/svgrect/index.html (limited to 'files/fr/web/api/svgrect') diff --git a/files/fr/web/api/svgrect/index.html b/files/fr/web/api/svgrect/index.html new file mode 100644 index 0000000000..520fe67d48 --- /dev/null +++ b/files/fr/web/api/svgrect/index.html @@ -0,0 +1,134 @@ +--- +title: SVGRect +slug: Web/API/SVGRect +tags: + - Rectangle +translation_of: Web/API/SVGRect +--- +

Interface SVG rect

+ +

SVGRect représente la géométrie rectangulaire. Les rectangles consistent en une paire de coordonnées (x,y) correspondant à une valeur X minimale, une valeur Y minimale, et une largeur et hauteur, lesquelles sont habituellement positives.

+ +

Un objet SVGRect peut être marqué en lecture-seule, ce qui signifie que les tentatives de modification sur cet objet entraîneront un lancement d'exception.

+ +

Vue d'ensemble de l'interface

+ + + + + + + + + + + + + + + + + + + + +
Implémente aussiAucune
MéthodesAucune
Propriétés +
    +
  • float x
  • +
  • float y
  • +
  • float width
  • +
  • float height
  • +
+
Document normatifSVG 1.1 (2nd Edition)
+ +

Propriétés

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
NomTypeDescription
xfloatLa coordonnée x du rectangle, en unité utilisateur.
yfloatLa coordonnée y du rectangle, en unité utilisateur.
widthfloatLa largeur width du rectangle, en unité utilisateur.
heightfloatLa hauteur height du rectangle, en unité utilisateur.
+ +

Exceptions à l'affectation : une DOMException avec le code NO_MODIFICATION_ALLOWED_ERR est levée lors d'une tentative de modification d'un attribut en lecture-seule.

+ +

Méthodes

+ +

L'interface SVGRect ne fournit pas de méthode spécifique.

+ +

Compatibilité des navigateurs

+ +

{{ CompatibilityTable() }}

+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Support de base{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
+
+ +
+ + + + + + + + + + + + + + + + + + + +
FonctionnalitéAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Support de base{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
+
+ +

 

-- cgit v1.2.3-54-g00ecf