isPointInStroke method
The
CanvasRenderingContext2D.isPointInStroke()
method of the Canvas 2D API reports whether or not the specified point is
inside the
area contained by the stroking of a path.
Implementation
external bool isPointInStroke(JSAny pathOrX, num xOrY, [num y]);