ImageData
Generated.swift:10079class ImageData
class ImageData
import DOM
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 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.
convenience init(data: Uint8ClampedArray, sw: UInt32, sh: UInt32? = nil, settings: ImageDataSettings? = nil)
convenience init(sw: UInt32, sh: UInt32, settings: ImageDataSettings? = nil)
required init(unsafelyWrapping jsObject: JSObject)
class var constructor: JSFunction? { get }
@ReadonlyAttribute var colorSpace: PredefinedColorSpace { get }
@ReadonlyAttribute var data: Uint8ClampedArray { get }
@ReadonlyAttribute var height: UInt32 { get }
let jsObject: JSObject
@ReadonlyAttribute var width: UInt32 { get }
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
import WebGL1
protocol Any_TexImageSource : ConvertibleToJSValue