isPointInPath method

bool isPointInPath(
  1. JSAny pathOrX,
  2. num xOrY, [
  3. JSAny fillRuleOrY,
  4. CanvasFillRule fillRule,
])

The CanvasRenderingContext2D.isPointInPath() method of the Canvas 2D API reports whether or not the specified point is contained in the current path.

Implementation

external bool isPointInPath(
  JSAny pathOrX,
  num xOrY, [
  JSAny fillRuleOrY,
  CanvasFillRule fillRule,
]);