diff options
Diffstat (limited to 'files/zh-cn/web/api/canvasimagesource/index.html')
-rw-r--r-- | files/zh-cn/web/api/canvasimagesource/index.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/files/zh-cn/web/api/canvasimagesource/index.html b/files/zh-cn/web/api/canvasimagesource/index.html new file mode 100644 index 0000000000..4e54de162c --- /dev/null +++ b/files/zh-cn/web/api/canvasimagesource/index.html @@ -0,0 +1,29 @@ +--- +title: CanvasImageSource +slug: Web/API/CanvasImageSource +translation_of: Web/API/CanvasImageSource +--- +<p>{{APIRef("Canvas API")}}</p> + +<p><code><strong>CanvasImageSource</strong></code> 是一个辅助类型,描述下面类型的任何一个对象:{{domxref("HTMLImageElement")}}, {{domxref("HTMLVideoElement")}}, {{domxref("HTMLCanvasElement")}}, {{domxref("CanvasRenderingContext2D")}}, 或 {{domxref("ImageBitmap")}}.</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#canvasimagesource", "CanvasImageSource")}}</td> + <td>{{Spec2('HTML WHATWG')}}</td> + <td>Initial definition.</td> + </tr> + </tbody> +</table> + +<p> </p> |