CanvasPathDrawingStyles

JS
1.1
interface CanvasPathDrawingStyles
(source)

Properties

JS
1.1

lineCap

abstract var lineCap: CanvasLineCap
JS
1.1

lineDashOffset

abstract var lineDashOffset: Double
JS
1.1

lineJoin

abstract var lineJoin: CanvasLineJoin
JS
1.1

lineWidth

abstract var lineWidth: Double
JS
1.1

miterLimit

abstract var miterLimit: Double

Functions

JS
1.1

getLineDash

abstract fun getLineDash(): Array<Double>
JS
1.1

setLineDash

abstract fun setLineDash(segments: Array<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