diff options
author | julieng <julien.gattelier@gmail.com> | 2021-10-02 17:20:14 +0200 |
---|---|---|
committer | SphinxKnight <SphinxKnight@users.noreply.github.com> | 2021-10-02 17:30:20 +0200 |
commit | c05efa8d7ae464235cf83d7c0956e42dc6974103 (patch) | |
tree | 6ea911b2f2010f63a026de6bb7a1a51e7690a7e1 /files/fr/web/api/imagedata/data/index.html | |
parent | 13a5e017558b248ee1647d4a5825f183b51f09ad (diff) | |
download | translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.gz translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.bz2 translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.zip |
move *.html to *.md
Diffstat (limited to 'files/fr/web/api/imagedata/data/index.html')
-rw-r--r-- | files/fr/web/api/imagedata/data/index.html | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/files/fr/web/api/imagedata/data/index.html b/files/fr/web/api/imagedata/data/index.html deleted file mode 100644 index 93967d5b3a..0000000000 --- a/files/fr/web/api/imagedata/data/index.html +++ /dev/null @@ -1,49 +0,0 @@ ---- -title: ImageData.data -slug: Web/API/ImageData/data -translation_of: Web/API/ImageData/data ---- -<p>{{APIRef("Canvas API")}}</p> - -<p>La propriété en lecteur seul <code>ImageData.data</code> retourne un {{jsxref("Uint8ClampedArray")}}. Il représente un tableau unidirectionnel contenant les données sous forme d'entiers inclus entre 0 et 255 dans l'ordre RGBA comme ceci : <code>[r1,g1,b1,a1,…,rn;gn;bn;an]</code>.</p> - -<h2 id="Syntax">Syntax</h2> - -<pre class="syntaxbox"><em>imagedata</em>.data -</pre> - -<h2 id="Exemple">Exemple</h2> - -<pre class="brush: js">var imagedata = new ImageData(100, 100); -imagedata.data; // Uint8ClampedArray[40000] -</pre> - -<h2 id="Specification">Specification</h2> - -<table class="standard-table"> - <tbody> - <tr> - <th scope="col">Specification</th> - <th scope="col">Status</th> - <th scope="col">Comment</th> - </tr> - <tr> - <td>{{SpecName('HTML WHATWG', 'scripting.html#dom-imagedata-data', 'ImageData.data')}}</td> - <td>{{Spec2('HTML WHATWG')}}</td> - <td> </td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility">Browser compatibility</h2> - - - -<p>{{Compat("api.ImageData.data")}}</p> - -<h2 id="See_also">See also</h2> - -<ul> - <li>{{domxref("ImageData.height")}}</li> - <li>{{domxref("ImageData.width")}}</li> -</ul> |