toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.canvas
/
CanvasDrawImage
Canvas
Draw
Image
sealed
external
interface
CanvasDrawImage
(
source
)
Inheritors
CanvasRenderingContext2D
OffscreenCanvasRenderingContext2D
Members
Functions
draw
Image
Link copied to clipboard
abstract
fun
drawImage
(
image
:
CanvasImageSource
,
dx
:
Double
,
dy
:
Double
)
MDN Reference
abstract
fun
drawImage
(
image
:
CanvasImageSource
,
dx
:
Double
,
dy
:
Double
,
dw
:
Double
,
dh
:
Double
)
abstract
fun
drawImage
(
image
:
CanvasImageSource
,
sx
:
Double
,
sy
:
Double
,
sw
:
Double
,
sh
:
Double
,
dx
:
Double
,
dy
:
Double
,
dw
:
Double
,
dh
:
Double
)