isPointInPath

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