CanvasDrawPath

external interface CanvasDrawPath

Functions

beginPath
Link copied to clipboard
abstract fun beginPath()
clip
Link copied to clipboard
abstract fun clip(fillRule: CanvasFillRule = definedExternally)
abstract fun clip(path: Path2D, fillRule: CanvasFillRule = definedExternally)
fill
Link copied to clipboard
abstract fun fill(fillRule: CanvasFillRule = definedExternally)
abstract fun fill(path: Path2D, fillRule: CanvasFillRule = definedExternally)
isPointInPath
Link copied to clipboard
abstract fun isPointInPath(x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean
abstract fun isPointInPath(path: Path2D, x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean
isPointInStroke
Link copied to clipboard
abstract fun isPointInStroke(x: Double, y: Double): Boolean
abstract fun isPointInStroke(path: Path2D, x: Double, y: Double): Boolean
resetClip
Link copied to clipboard
abstract fun resetClip()
stroke
Link copied to clipboard
abstract fun stroke()
abstract fun stroke(path: Path2D)

Inheritors

CanvasRenderingContext2D
Link copied to clipboard