OffscreenCanvas
@native @JSGlobal @JSType
The OffscreenCanvas interface provides a canvas that can be rendered off screen. It is available in both the window and worker contexts.
class Object
trait Any
class Object
trait Matchable
class Any
Value members
Concrete methods
Creates a Blob object representing the image contained in the canvas.
Creates a Blob object representing the image contained in the canvas.
Returns a rendering context for the offscreen canvas.
Returns a rendering context for the offscreen canvas.