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 750659 of RenderingContext

  • Revision slug: Web/API/RenderingContext
  • Revision title: RenderingContext
  • Revision id: 750659
  • Created:
  • Creator: fscholz
  • Is current revision? Yes
  • Comment

Revision Content

{{APIRef("Canvas API")}}

RenderingContext is a helper type representing any of the following rendering contexts {{domxref("CanvasRenderingContext2D")}}, {{domxref("WebGLRenderingContext")}} or {{domxref("WebGL2RenderingContext")}} (which inherits from WebGLRenderingContext).

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

Specifications

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

 

Revision Source

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

<p><code><strong>RenderingContext</strong></code> is a helper type representing any of the following rendering contexts {{domxref("CanvasRenderingContext2D")}}, {{domxref("WebGLRenderingContext")}} or {{domxref("WebGL2RenderingContext")}} (which inherits from <code>WebGLRenderingContext</code>).</p>

<p>This is a helper type to simplify the specification, it isn't 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#renderingcontext", "RenderingContext")}}</td>
   <td>{{Spec2('HTML WHATWG')}}</td>
   <td>Initial definition.</td>
  </tr>
 </tbody>
</table>

<p>&nbsp;</p>
Revert to this revision