isPointInPath

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

MDN Reference


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