aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/renderingcontext
diff options
context:
space:
mode:
authorIrvin <irvinfly@gmail.com>2021-08-17 02:46:21 +0800
committerGitHub <noreply@github.com>2021-08-17 02:46:21 +0800
commit2478646b4648d9c3b98482f186e542fc8ca0cc19 (patch)
treeed2cf4a397e5e6bd4bce72edae928494bb6dbac6 /files/zh-cn/web/api/renderingcontext
parent13655caf6054c012946aa786a0675c8556c49805 (diff)
downloadtranslated-content-2478646b4648d9c3b98482f186e542fc8ca0cc19.tar.gz
translated-content-2478646b4648d9c3b98482f186e542fc8ca0cc19.tar.bz2
translated-content-2478646b4648d9c3b98482f186e542fc8ca0cc19.zip
bring some orphaned docs and relocate according to it's counterpart eng doc (partial revert #1616) (#1618)
* Revert "Remove previously orphaned file (#1616)" This reverts commit 49c5601989809c347a5a595e3c5edc08731e5305. * fix broken slugs * rm orphaned docs that eng origin is not available * Web/API/Element/after: sync origin english content
Diffstat (limited to 'files/zh-cn/web/api/renderingcontext')
-rw-r--r--files/zh-cn/web/api/renderingcontext/index.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/renderingcontext/index.html b/files/zh-cn/web/api/renderingcontext/index.html
new file mode 100644
index 0000000000..4cf1dfc0b7
--- /dev/null
+++ b/files/zh-cn/web/api/renderingcontext/index.html
@@ -0,0 +1,30 @@
+---
+title: RenderingContext
+slug: 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> \ No newline at end of file