CanvasRect

JS
1.1
interface CanvasRect
(source)

Functions

JS
1.1

clearRect

abstract fun clearRect(
    x: Double,
    y: Double,
    w: Double,
    h: Double)
JS
1.1

fillRect

abstract fun fillRect(
    x: Double,
    y: Double,
    w: Double,
    h: Double)
JS
1.1

strokeRect

abstract fun strokeRect(
    x: Double,
    y: Double,
    w: Double,
    h: 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