ImageBitmapRenderingContext
Generated.swift:10044class ImageBitmapRenderingContext
class ImageBitmapRenderingContext
import DOM
protocol ConstructibleFromJSValue
Types conforming to this protocol can be constructed from JSValue
.
protocol ConvertibleToJSValue
Objects that can be converted to a JavaScript value, preferably in a lossless manner.
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Escapable
protocol JSBridgedClass : JSBridgedType
Conform to this protocol when your Swift class wraps a JavaScript class.
protocol JSBridgedType : ConstructibleFromJSValue, ConvertibleToJSValue, CustomStringConvertible
Use this protocol when your type has no single JavaScript class. For example, a union type of multiple classes or primitive values.
protocol OffscreenRenderingContext : ConstructibleFromJSValue, ConvertibleToJSValue
protocol RenderingContext : ConstructibleFromJSValue, ConvertibleToJSValue
required init(unsafelyWrapping jsObject: JSObject)
static var contextID: JSString { get }
class var constructor: JSFunction? { get }
@ReadonlyAttribute var canvas: HTMLCanvasElement_or_OffscreenCanvas { get }
let jsObject: JSObject
func transferFromImageBitmap(bitmap: ImageBitmap?)
init?(from value: JSValue)
init?(from object: JSObject)
static func construct(from value: JSValue) -> Self?
var description: String { get }
var jsValue: JSValue { get }
func jsValue() -> JSValue