//qrcode-kotlin/qrcode.render/QRCodeGraphics/drawImage
[android, jvm]
[android]
open fun drawImage(img: Bitmap, x: Int, y: Int)
[jvm]
open fun drawImage(image: BufferedImage?, x: Int, y: Int)
[common, android, jvm]
[common]
expect fun drawImage(rawData: ByteArray?, x: Int, y: Int)
[android]
actual fun drawImage(rawData: ByteArray?, x: Int, y: Int)
[jvm]
actual open fun drawImage(rawData: ByteArray?, x: Int, y: Int)
Reads the specified image from rawData and draws it at (x,y)
[js]
actual fun drawImage(rawData: ByteArray?, x: Int, y: Int)
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.