PropsOffscreenCanvas extension

on

Properties

height int

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

getter/setter pair
oncontextlost EventHandlerNonNull<Event>?

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

getter/setter pair
oncontextrestored EventHandlerNonNull<Event>?

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

getter/setter pair
width int

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

getter/setter pair

Methods

convertToBlob([ImageEncodeOptions? options]) Future<Blob>

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

getContext(OffscreenRenderingContextId contextId, [dynamic options]) → dynamic

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension

transferToImageBitmap() ImageBitmap

Available on OffscreenCanvas, provided by the PropsOffscreenCanvas extension