CanvasUserInterface

JS
1.1
interface CanvasUserInterface

Functions

JS
1.1

drawFocusIfNeeded

abstract fun drawFocusIfNeeded(element: Element)
abstract fun drawFocusIfNeeded(
    path: Path2D,
    element: Element)
JS
1.1

scrollPathIntoView

abstract fun scrollPathIntoView()
abstract fun scrollPathIntoView(path: Path2D)

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