isPointInPath

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

MDN Reference


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