aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/orphaned/web/api/renderingcontext/index.html
blob: 9133b5fd7fac8c93f7a5b959e982d6689211d563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
title: RenderingContext
slug: orphaned/Web/API/RenderingContext
translation_of: Web/API/RenderingContext
original_slug: Web/API/RenderingContext
---
<p>{{APIRef("Canvas API")}}</p>

<p><code><strong>RenderingContext</strong></code> 是一个辅助类型,描述下面任何一个渲染上下文:  {{domxref("CanvasRenderingContext2D")}}, {{domxref("WebGLRenderingContext")}} 或者 {{domxref("WebGL2RenderingContext")}} (继承自 <code>WebGLRenderingContext</code>)。</p>

<p>这是简化规范的辅助类型,它不是一个接口,也没有对象实现它。</p>

<h2 id="规范描述">规范描述</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> </p>