()
| 977 | } |
| 978 | |
| 979 | void makeOval() { |
| 980 | Roi previousRoi = getImage().getRoi(); |
| 981 | if (shiftKeyDown||altKeyDown) getImage().saveRoi(); |
| 982 | IJ.makeOval(getFirstArg(), getNextArg(), getNextArg(), getLastArg()); |
| 983 | Roi roi = getImage().getRoi(); |
| 984 | if (previousRoi!=null && roi!=null) |
| 985 | updateRoi(roi); |
| 986 | resetImage(); |
| 987 | shiftKeyDown = altKeyDown = false; |
| 988 | IJ.setKeyUp(IJ.ALL_KEYS); |
| 989 | } |
| 990 | |
| 991 | void makeRectangle() { |
| 992 | Roi previousRoi = getImage().getRoi(); |
no test coverage detected