CanvasRenderingContext2D

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

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript CanvasRenderingContext2D to Kotlin

CanvasRenderingContext2D()

Properties

JS
1.1

canvas

open val canvas: HTMLCanvasElement