From 88dda3c00eefc18a29447e99ebd3177925602b52 Mon Sep 17 00:00:00 2001 From: julieng Date: Mon, 1 Nov 2021 07:51:45 +0100 Subject: convert content to md --- files/fr/web/svg/element/path/index.md | 85 ++++++++++++++++------------------ 1 file changed, 40 insertions(+), 45 deletions(-) (limited to 'files/fr/web/svg/element/path') diff --git a/files/fr/web/svg/element/path/index.md b/files/fr/web/svg/element/path/index.md index 9727d692be..bf0e4eb14c 100644 --- a/files/fr/web/svg/element/path/index.md +++ b/files/fr/web/svg/element/path/index.md @@ -5,65 +5,60 @@ tags: - SVG translation_of: Web/SVG/Element/path --- -
{{SVGRef}}
+{{SVGRef}} -

L'élément path est l'élément générique pour définir une forme. Toutes les formes basiques peuvent aussi être faites à partir de path.

+L'élément `path` est l'élément générique pour définir une forme. Toutes les formes basiques peuvent aussi être faites à partir de `path`. -

Usage

+## Usage -

{{svginfo}}

+{{svginfo}} -

Exemple

+## Exemple -
<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
-  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg width="100%" height="100%" viewBox="0 0 400 400"
-     xmlns="http://www.w3.org/2000/svg" version="1.1">
+```xml
+
+
+
 
-  <path d="M 100 100 L 300 100 L 200 300 z"
-        fill="red" stroke-width="3" />
-</svg>
-
+ + +``` -

Attributs

+## Attributs -

Attributs Globaux

+### Attributs Globaux - +- [Attributs conditionnels](/fr/SVG/Attribute#ConditionalProccessing "fr/SVG/Attribute#ConditionalProccessing") » +- [Attributs centraux](/fr/SVG/Attribute#Core "fr/SVG/Attribute#Core") » +- [Attributs d'événements graphiques](/fr/SVG/Attribute#GraphicalEvent "fr/SVG/Attribute#GraphicalEvent") » +- [Attributs de présentation](/fr/SVG/Attribute#Presentation "fr/SVG/Attribute#Presentation") » +- {{ SVGAttr("class") }} +- {{ SVGAttr("style") }} +- {{ SVGAttr("externalResourcesRequired") }} +- {{ SVGAttr("transform") }} -

Attributs spécifiques

+### Attributs spécifiques - +- {{ SVGAttr("d") }} +- {{ SVGAttr("pathLength") }} -

Interface DOM

+## Interface DOM -

Cet élément implémente l'interface SVGPathElement.

+Cet élément implémente l'interface [`SVGPathElement`](/fr/DOM/SVGPathElement "en/DOM/SVGPathElement"). -

Compatibilité des navigateurs

+## Compatibilité des navigateurs -

{{Compat("svg.elements.path")}}

+{{Compat("svg.elements.path")}} -

Voir également

+## Voir également - +- {{ SVGElement("circle") }} +- {{ SVGElement("ellipse") }} +- {{ SVGElement("line") }} +- {{ SVGElement("polygon") }} +- {{ SVGElement("polyline") }} +- {{ SVGElement("rect") }} +- [The MDN SVG "Getting Started" tutorial : Path](/fr/SVG/Tutorial/Paths "en/SVG/Tutorial/Paths") -- cgit v1.2.3-54-g00ecf