OffscreenCanvas$Typings extension

on

Properties

addEventListener → ({void Function<K$>(OffscreenCanvasEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

Overload accessor: $1, $2
no setter
convertToBlob Future<Blob> Function([ImageEncodeOptions?])

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

getter/setter pair
getContext → ({OffscreenCanvasRenderingContext2D? Function(String contextId, [dynamic options]) $1, ImageBitmapRenderingContext? Function(String contextId, [dynamic options]) $2, WebGLRenderingContext? Function(String contextId, [dynamic options]) $3, WebGL2RenderingContext? Function(String contextId, [dynamic options]) $4, Object? Function(OffscreenRenderingContextId contextId, [dynamic options]) $5})

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

Overload accessor: $1, $2, $3, $4, $5
no setter
height num

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

These attributes return the dimensions of the OffscreenCanvas object's bitmap.
getter/setter pair
oncontextlost ↔ dynamic Function(Event)?

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

getter/setter pair
oncontextrestored ↔ dynamic Function(Event)?

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(OffscreenCanvasEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

Overload accessor: $1, $2
no setter
transferToImageBitmap ImageBitmap Function()

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

getter/setter pair
width num

Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension

These attributes return the dimensions of the OffscreenCanvas object's bitmap.
getter/setter pair