OffscreenCanvas$Typings extension
Properties
-
addEventListener
→ ({void Function<
K$>(OffscreenCanvasEventMap< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension
Overload accessor: $1, $2no 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, $5no 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< $1, void Function(String type, Object listener, [Object? options]) $2})K$> type, dynamic listener(K$), [Object? options]) -
Available on OffscreenCanvas, provided by the OffscreenCanvas$Typings extension
Overload accessor: $1, $2no 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