CanvasHitRegion

JS
1.1
interface CanvasHitRegion
(source)

Functions

JS
1.1

addHitRegion

abstract fun addHitRegion(
    options: HitRegionOptions = definedExternally)
JS
1.1

clearHitRegions

abstract fun clearHitRegions()
JS
1.1

removeHitRegion

abstract fun removeHitRegion(id: String)

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