Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 908413 of CanvasImageSource

  • Revision slug: Web/API/CanvasImageSource
  • Revision title: CanvasImageSource
  • Revision id: 908413
  • Created:
  • Creator: Mehran-Shakerinava
  • Is current revision? Yes
  • Comment

Revision Content

{{APIRef("Canvas API")}}

CanvasImageSource is a helper type representing any objects of one of the following types: {{domxref("HTMLImageElement")}}, {{domxref("HTMLVideoElement")}}, {{domxref("HTMLCanvasElement")}}, or {{domxref("ImageBitmap")}}.

This is a helper type to simplify the specification, it is not an interface and there are no objects implementing it.

Specifications

Specification Status Comment
{{SpecName('HTML WHATWG', "scripting.html#canvasimagesource", "CanvasImageSource")}} {{Spec2('HTML WHATWG')}} Initial definition.

Revision Source

<p>{{APIRef("Canvas API")}}</p>

<p><code><strong>CanvasImageSource</strong></code> is a helper type representing any objects of one of the following types: {{domxref("HTMLImageElement")}}, {{domxref("HTMLVideoElement")}}, {{domxref("HTMLCanvasElement")}}, or {{domxref("ImageBitmap")}}.</p>

<p>This is a helper type to simplify the specification, it is not an interface and there are no objects implementing it.</p>

<h2 id="Specifications">Specifications</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#canvasimagesource", "CanvasImageSource")}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>
Revert to this revision