kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.dom
/
ImageData
Image
Data
JS
open
external
class
ImageData
:
ImageBitmapSource
,
TexImageSource
Exposes the JavaScript
ImageData
to Kotlin
Constructors
Properties
Constructors
Image
Data
Link copied to clipboard
JS
fun
ImageData
(
sw
:
Int
,
sh
:
Int
)
Image
Data
Link copied to clipboard
JS
fun
ImageData
(
data
:
Uint8ClampedArray
,
sw
:
Int
,
sh
:
Int
=
definedExternally
)
Properties
data
Link copied to clipboard
JS
open
val
data
:
Uint8ClampedArray
height
Link copied to clipboard
JS
open
val
height
:
Int
width
Link copied to clipboard
JS
open
val
width
:
Int