package js.html
Available on jsThe
ImageBitmapRenderingContextinterface is a canvas rendering context which only provides the functionality to replace the canvas's contents with the givenImageBitmap. Its context id (the first argument toHTMLCanvasElement.getContext()orOffscreenCanvas.getContext()is"bitmaprenderer".Documentation ImageBitmapRenderingContext by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
transferImageBitmap (bitmap:ImageBitmap):VoidDisplays the given ImageBitmap in the canvas associated with this rendering context. Ownership of the ImageBitmap is transferred to the canvas.
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/ImageBitmapRenderingContext.html