MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / makeOval

Method makeOval

ij/src/main/java/ij/macro/Functions.java:979–989  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers 1

doFunctionMethod · 0.95

Calls 10

getImageMethod · 0.95
makeOvalMethod · 0.95
getFirstArgMethod · 0.95
getNextArgMethod · 0.95
getLastArgMethod · 0.95
updateRoiMethod · 0.95
resetImageMethod · 0.95
setKeyUpMethod · 0.95
getRoiMethod · 0.45
saveRoiMethod · 0.45

Tested by

no test coverage detected