v1.8.21
  • Solutions
    • Multiplatform
    • Server-side
    • Data science
    • Android
  • Docs
  • Community
  • Teach
  • Play
    • Playground
    • Hands-on
    • Examples
    • Koans
← Docs
kotlin-stdlib / org.w3c.dom / ImageData

ImageData

JS
1.1
open class ImageData : ImageBitmapSource, TexImageSource
(source)

Exposes the JavaScript ImageData to Kotlin

Constructors

JS
1.1

<init>

ImageData(sw: Int, sh: Int)
ImageData(
    data: Uint8ClampedArray,
    sw: Int,
    sh: Int = definedExternally)

Properties

JS
1.1

data

open val data: Uint8ClampedArray
JS
1.1

height

open val height: Int
JS
1.1

width

open val width: Int
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Kotlin™ is protected under the Kotlin Foundation and licensed under the Apache 2 license.
Supported and developed by JetBrains