OffscreenCanvas类
- 继承
-
- Object
- EventTarget
- OffscreenCanvas
- 注解
-
- @Native("OffscreenCanvas")
构造函数
- OffscreenCanvas(int width, int height)
-
工厂
属性
方法
-
addEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
convertToBlob(
[Map? options]) → Future< Blob> -
dispatchEvent(
Event event) → bool -
继承
-
getContext(
String contextType, [Map? attributes]) → Object? -
noSuchMethod(
Invocation invocation) → dynamic - 在访问不存在的函数或属性时被调用。继承
-
removeEventListener(
String type, EventListener? listener, [bool? useCapture]) → void -
继承
-
toString(
) → String - 该对象的字符串表示。继承
-
transferToImageBitmap(
) → ImageBitmap
运算符
-
operator ==(
Object other) → bool - 等于运算符。继承