isPointInStroke method

bool isPointInStroke(
  1. JSAny pathOrX,
  2. num xOrY, [
  3. num y
])

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,
]);