isPointInStroke method
bool isPointInStroke(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"); }
© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CanvasRenderingContext2D/isPointInStroke.html