bool
isPointInStroke(path_OR_x, num x_OR_y, [ num y ])
Source
bool isPointInStroke(path_OR_x, num x_OR_y, [num y]) {
if ((x_OR_y is num) && (path_OR_x is num) && y == null) {
return _blink.BlinkCanvasRenderingContext2D.instance.isPointInStroke_Callback_2_(this, path_OR_x, x_OR_y);
}
if ((y is num) && (x_OR_y is num) && (path_OR_x is Path2D)) {
return _blink.BlinkCanvasRenderingContext2D.instance.isPointInStroke_Callback_3_(this, path_OR_x, x_OR_y, y);
}
throw new ArgumentError("Incorrect number or type of arguments");
}