drawImage

open fun drawImage(img: Bitmap, x: Int, y: Int)(source)


actual fun drawImage(rawData: ByteArray?, x: Int, y: Int)(source)

Reads the specified image from rawData and draws it at (x,y)

expect fun drawImage(rawData: ByteArray?, x: Int, y: Int)(source)

Reads the specified image from rawData and draws it at (x,y)

actual fun drawImage(rawData: ByteArray?, x: Int, y: Int)(source)

Reads the specified image from rawData and draws it at (x,y).

On JS this has a limitation that the rawData image will be loaded considering it has the same width as this object.

open fun drawImage(image: BufferedImage?, x: Int, y: Int)(source)


actual open fun drawImage(rawData: ByteArray?, x: Int, y: Int)(source)

Reads the specified image from rawData and draws it at (x,y)