createImageData

abstract fun createImageData(sw: Int, sh: Int, settings: ImageDataSettings = definedExternally): ImageData(source)

MDN Reference


abstract fun createImageData(imagedata: ImageData): ImageData(source)