draw Image
Draw an image on the canvas.
Parameters
x Pos
Left coordinate of the image.
y Pos
Top coordinate of the image.
src
The path to the image file.
draw Desc
The image descriptor.
expect fun drawImage(xPos: Short, yPos: Short, src: String, drawDesc: DrawImageDescriptor): StringReference
Draw an image on the canvas.
Return
The reference to src. Remember to close it when finished with it.
Parameters
x Pos
Left coordinate of the image.
y Pos
Top coordinate of the image.
src
The path to the image file.
draw Desc
The image descriptor.
actual fun drawImage(xPos: Short, yPos: Short, src: String, drawDesc: DrawImageDescriptor): StringReference
actual fun drawImage(xPos: Short, yPos: Short, src: String, drawDesc: DrawImageDescriptor): StringReference