bool isPointInPath(path_OR_x, num x_OR_y, [ winding_OR_y, String winding ])

Source

bool isPointInPath(path_OR_x, num x_OR_y, [winding_OR_y, String winding]) {
  if ((x_OR_y is num) &&
      (path_OR_x is num) &&
      winding_OR_y == null &&
      winding == null) {
    return _blink.BlinkCanvasRenderingContext2D.instance
        .isPointInPath_Callback_2_(this, path_OR_x, x_OR_y);
  }
  if ((winding_OR_y is String) &&
      (x_OR_y is num) &&
      (path_OR_x is num) &&
      winding == null) {
    return _blink.BlinkCanvasRenderingContext2D.instance
        .isPointInPath_Callback_3_(this, path_OR_x, x_OR_y, winding_OR_y);
  }
  if ((winding_OR_y is num) &&
      (x_OR_y is num) &&
      (path_OR_x is Path2D) &&
      winding == null) {
    return _blink.BlinkCanvasRenderingContext2D.instance
        .isPointInPath_Callback_3_(this, path_OR_x, x_OR_y, winding_OR_y);
  }
  if ((winding is String) &&
      (winding_OR_y is num) &&
      (x_OR_y is num) &&
      (path_OR_x is Path2D)) {
    return _blink.BlinkCanvasRenderingContext2D.instance
        .isPointInPath_Callback_4_(
            this, path_OR_x, x_OR_y, winding_OR_y, winding);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}