ImageBitmapRenderingContext

ImageBitmapRenderingContext

package js-html

Available on js

The ImageBitmapRenderingContext interface is a canvas rendering context which only provides the functionality to replace the canvas's contents with the given ImageBitmap. Its context id (the first argument to HTMLCanvasElement.getContext() or OffscreenCanvas.getContext() is "bitmaprenderer".

Documentation ImageBitmapRenderingContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods

transferImageBitmap (bitmap:ImageBitmap):Void

Displays the given ImageBitmap in the canvas associated with this rendering context. Ownership of the ImageBitmap is transferred to the canvas.

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/ImageBitmapRenderingContext.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部