Creates a straight line selection.
(int x1, int y1, int x2, int y2)
| 1413 | |
| 1414 | /** Creates a straight line selection. */ |
| 1415 | public static void makeLine(int x1, int y1, int x2, int y2) { |
| 1416 | getImage().setRoi(new Line(x1, y1, x2, y2)); |
| 1417 | } |
| 1418 | |
| 1419 | /** Creates a straight line selection using floating point coordinates. */ |
| 1420 | public static void makeLine(double x1, double y1, double x2, double y2) { |