CanvasImageData

JS
1.1
interface CanvasImageData
(source)

Functions

JS
1.1

createImageData

abstract fun createImageData(
    sw: Double,
    sh: Double
): ImageData
abstract fun createImageData(imagedata: ImageData): ImageData
JS
1.1

getImageData

abstract fun getImageData(
    sx: Double,
    sy: Double,
    sw: Double,
    sh: Double
): ImageData
JS
1.1

putImageData

abstract fun putImageData(
    imagedata: ImageData,
    dx: Double,
    dy: Double)
abstract fun putImageData(
    imagedata: ImageData,
    dx: Double,
    dy: Double,
    dirtyX: Double,
    dirtyY: Double,
    dirtyWidth: Double,
    dirtyHeight: 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