CanvasDrawImage

JS
1.1
interface CanvasDrawImage

Functions

JS
1.1

drawImage

abstract fun drawImage(
    image: dynamic,
    dx: Double,
    dy: Double)
abstract fun drawImage(
    image: dynamic,
    dx: Double,
    dy: Double,
    dw: Double,
    dh: Double)
abstract fun drawImage(
    image: dynamic,
    sx: Double,
    sy: Double,
    sw: Double,
    sh: Double,
    dx: Double,
    dy: Double,
    dw: Double,
    dh: Double)

Inheritors

JS
1.1

CanvasRenderingContext2D

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

abstract class CanvasRenderingContext2D : 
    CanvasState,
    CanvasTransform,
    CanvasCompositing,
    CanvasImageSmoothing,
    CanvasFillStrokeStyles,
    CanvasShadowStyles,
    CanvasFilters,
    CanvasRect,
    CanvasDrawPath,
    CanvasUserInterface,
    CanvasText,
    CanvasDrawImage,
    CanvasHitRegion,
    CanvasImageData,
    CanvasPathDrawingStyles,
    CanvasTextDrawingStyles,
    CanvasPath,
    RenderingContext