isPointInPath

abstract fun isPointInPath(x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean(source)
abstract fun isPointInPath(path: Path2D, x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean(source)

Since Kotlin

1.1
abstract fun isPointInPath(x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean(source)
abstract fun isPointInPath(path: Path2D, x: Double, y: Double, fillRule: CanvasFillRule = definedExternally): Boolean(source)

Since Kotlin

1.8