isPointInPath method

bool isPointInPath(
  1. Path2D path,
  2. dynamic x, [
  3. dynamic y,
  4. CanvasFillRule? fillRule = CanvasFillRule.nonzero,
])

Implementation

bool isPointInPath(Path2D path, /* double | NaN */ dynamic x,
        [/* double | NaN */ dynamic y,
        CanvasFillRule? fillRule = CanvasFillRule.nonzero]) =>
    js_util.callMethod(this, 'isPointInPath', [path, x, y, fillRule?.value]);