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

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

Revision Content

{{APIRef("Canvas")}}

RenderingContext is a helper type representing any of the following rendering contexts:

  • {{domxref("CanvasRenderingContext2D")}} or
  • {{domxref("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")}}</p>
<p><code><strong>RenderingContext</strong></code> is a helper type representing any of the following rendering contexts:</p>
<ul>
 <li>{{domxref("CanvasRenderingContext2D")}} or</li>
 <li>{{domxref("WebGLRenderingContext")}}</li>
</ul>
<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