diff options
| author | julieng <julien.gattelier@gmail.com> | 2021-11-01 07:51:27 +0100 |
|---|---|---|
| committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-11-07 11:57:29 +0100 |
| commit | 7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a (patch) | |
| tree | 98beab4363e778deb9e251db56c2a5b1248f2697 /files/fr/web/svg/element/polyline/index.html | |
| parent | c5054b32e0e496608030b5148ebba6d76db8ba7f (diff) | |
| download | translated-content-7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a.tar.gz translated-content-7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a.tar.bz2 translated-content-7040e4bc9c98e0c50ce903a5cbeeabeda2ed908a.zip | |
move *.html to *.md
Diffstat (limited to 'files/fr/web/svg/element/polyline/index.html')
| -rw-r--r-- | files/fr/web/svg/element/polyline/index.html | 129 |
1 files changed, 0 insertions, 129 deletions
diff --git a/files/fr/web/svg/element/polyline/index.html b/files/fr/web/svg/element/polyline/index.html deleted file mode 100644 index 42325ffe60..0000000000 --- a/files/fr/web/svg/element/polyline/index.html +++ /dev/null @@ -1,129 +0,0 @@ ---- -title: <polyline> -slug: Web/SVG/Element/polyline -tags: - - Element - - Graphisme - - Reference - - SVG -translation_of: Web/SVG/Element/polyline ---- -<div>{{SVGRef}}</div> - -<p>L'élément SVG <strong><code><polyline></code></strong> est une forme SVG basique qui crée des lignes entre plusieurs points. Un élément <code>polyline</code> est généralement utilisé pour créer des tracés ouverts car le dernier point n'est pas nécessairement connecté avec le premier. Lorsqu'on désire réaliser des formes fermées, on privilégiera l'élément {{SVGElement("polygon")}}.</p> - -<h2 id="Contexte_d'utilisation">Contexte d'utilisation</h2> - -<p>{{svginfo}}</p> - -<h2 id="Attributs">Attributs</h2> - -<h3 id="Attributs_universels">Attributs universels</h3> - -<ul> - <li><a href="/fr/docs/Web/SVG/Attribute#Attributs_de_traitement_conditionnel">Attributs de traitement conditionnel</a></li> - <li><a href="/fr/docs/Web/SVG/Attribute#Attributs_de_base">Attributs principaux</a></li> - <li><a href="/fr/docs/Web/SVG/Attribute#Attributs_d%27%C3%A9v%C3%A9nement_graphique">Attributs relatifs aux évènements graphiques</a></li> - <li><a href="/fr/docs/Web/SVG/Attribute#Attributs_de_présentation">Attributs de présentation</a></li> - <li>{{SVGAttr("class")}}</li> - <li>{{SVGAttr("style")}}</li> - <li>{{SVGAttr("externalResourcesRequired")}}</li> - <li>{{SVGAttr("transform")}}</li> -</ul> - -<h3 id="Attributs_spécifiques">Attributs spécifiques</h3> - -<ul> - <li>{{SVGAttr("points")}}</li> -</ul> - -<h2 id="Interface_DOM">Interface DOM</h2> - -<p>Cet élément implémente l'interface {{domxref("SVGPolylineElement")}}.</p> - -<h2 id="Exemples">Exemples</h2> - -<h3 id="Utilisation_basique">Utilisation basique</h3> - -<h4 id="SVG">SVG</h4> - -<pre class="brush: html"><svg width="120" height="120" xmlns="http://www.w3.org/2000/svg"> - <polyline fill="none" stroke="black" - points="20,100 40,60 70,80 100,20"/> -</svg></pre> - -<h4 id="Résultat">Résultat</h4> - -<p>{{EmbedLiveSample("Utilisation_basique", 120, 120)}}</p> - -<h3 id="Escaliers">Escaliers</h3> - -<h4 id="HTML">HTML</h4> - -<pre class="brush: html"><div class="contain-demo"> - <svg width="150" height="200"> - <desc> - Première polyligne orange avec - remplissage blanc. - </desc> - <polyline - points="0,40 40,40 40,80 80,80 80,120 120,120 120,160" - fill="white" stroke="#D07735" stroke-width="6" /> - </svg> - <svg width="150" height="200"> - <desc> - Seconde polyligne orange avec - remplissage jaune. - </desc> - <polyline - points="0,40 40,40 40,80 80,80 80,120 120,120 120,160" - fill="#F9F38C" stroke="#D07735" stroke-width="6" /> - </svg> -</div> -</pre> - -<h4 id="CSS">CSS</h4> - -<pre class="brush: css">.contain-demo { - margin: 25px auto; - text-align: center; -}</pre> - -<h4 id="Résultat_2">Résultat</h4> - -<p>{{EmbedLiveSample("Escaliers", 400, 500)}}</p> - -<h2 id="Spécifications">Spécifications</h2> - -<table class="standard-table"> - <thead> - <tr> - <th scope="col">Spécification</th> - <th scope="col">État</th> - <th scope="col">Commentaires</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('SVG2', 'shapes.html#PolylineElement', '<polyline>')}}</td> - <td>{{Spec2('SVG2')}}</td> - <td> </td> - </tr> - <tr> - <td>{{SpecName('SVG1.1', 'shapes.html#PolylineElement', '<polyline>')}}</td> - <td>{{Spec2('SVG1.1')}}</td> - <td>Définition initiale.</td> - </tr> - </tbody> -</table> - -<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2> - -<p>{{Compat("svg.elements.polyline")}}</p> - -<h2 id="Voir_aussi">Voir aussi</h2> - -<ul> - <li>{{SVGElement("line")}}</li> - <li>{{SVGElement("polygon")}}</li> -</ul> |
