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

Method get

ij/src/main/java/ij/gui/Overlay.java:102–108  ·  view source on GitHub ↗

Returns the ROI with the specified index or null if the index is invalid.

(int index)

Source from the content-addressed store, hash-verified

100
101 /** Returns the ROI with the specified index or null if the index is invalid. */
102 public Roi get(int index) {
103 try {
104 return (Roi)list.get(index);
105 } catch(Exception e) {
106 return null;
107 }
108 }
109
110 /** Returns the ROI with the specified name or null if not found. */
111 public Roi get(String name) {

Callers 15

createRoiMaskMethod · 0.95
tempOverlayMethod · 0.95
deleteOverlayRoiMethod · 0.95
doOverlayMethod · 0.95
convertMethod · 0.95
runMethod · 0.95
drawBarAsOverlayMethod · 0.95
runMethod · 0.95
convertStackToImagesMethod · 0.95
dialogItemChangedMethod · 0.95
measureMethod · 0.95
toRoiManagerMethod · 0.95

Calls 1

getIndexMethod · 0.95

Tested by

no test coverage detected