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 675839 of CanvasImageSource

  • Revision slug: Web/API/CanvasImageSource
  • Revision title: CanvasImageSource
  • Revision id: 675839
  • Created:
  • Creator: fscholz
  • Is current revision? No
  • Comment

Revision Content

{{APIRef("Canvas")}}

CanvasImageSource is a helper type representing any objects of one of the following types: {{domxref("HTMLImageElement")}}, {{domxref("HTMLVideoElement")}}, {{domxref("HTMLCanvasElement")}}, {{domxref("CanvasRenderingContext2D")}}, 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")}}</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")}}, {{domxref("CanvasRenderingContext2D")}}, 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>
<p>&nbsp;</p>
Revert to this revision