Enumerationswiftwasm.webapikit 0.1.0DOM
CanvasImageSource
Generated.swift:21385enum CanvasImageSource
enum CanvasImageSource
import DOM
case htmlCanvasElement(HTMLCanvasElement)
case htmlOrSVGImageElement(HTMLOrSVGImageElement)
case htmlVideoElement(HTMLVideoElement)
case imageBitmap(ImageBitmap)
case offscreenCanvas(OffscreenCanvas)
case videoFrame(VideoFrame)
protocol Any_CanvasImageSource : ConvertibleToJSValue
protocol Any_ImageBitmapSource : ConvertibleToJSValue
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 Escapable
static func construct(from value: JSValue) -> Self?
var htmlCanvasElement: HTMLCanvasElement? { get }
var htmlOrSVGImageElement: HTMLOrSVGImageElement? { get }
var htmlVideoElement: HTMLVideoElement? { get }
var imageBitmap: ImageBitmap? { get }
var jsValue: JSValue { get }
var offscreenCanvas: OffscreenCanvas? { get }
var videoFrame: VideoFrame? { get }
func jsValue() -> JSValue