CanvasHitRegion
Functions
addHitRegion
abstract fun addHitRegion(
options: HitRegionOptions = definedExternally)
clearHitRegions
abstract fun clearHitRegions()
removeHitRegion
abstract fun removeHitRegion(id: String)
Inheritors
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