← Docs
kotlin-stdlib / org.w3c.dom / WindowOrWorkerGlobalScope / createImageBitmap

createImageBitmap

JS
1.1
abstract fun createImageBitmap (
image : ImageBitmapSource ,
options : ImageBitmapOptions = definedExternally
) : Promise < ImageBitmap >

(source)
abstract fun createImageBitmap (
image : ImageBitmapSource ,
sx : Int ,
sy : Int ,
sw : Int ,
sh : Int ,
options : ImageBitmapOptions = definedExternally
) : Promise < ImageBitmap >

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