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

Method set

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

Replaces the ROI at the specified index.

(Roi roi, int index)

Source from the content-addressed store, hash-verified

67
68 /** Replaces the ROI at the specified index. */
69 public void set(Roi roi, int index) {
70 if (index<0 || index>=list.size())
71 throw new IllegalArgumentException("set: index out of range");
72 if (roi!=null)
73 list.set(index, roi);
74 }
75
76 /** Removes the ROI with the specified index from this Overlay. */
77 public void remove(int index) {

Callers 10

doOverlayMethod · 0.95
makeZeroTransparentMethod · 0.45
fillNoiseIntMethod · 0.45
getInsetsMethod · 0.45
setPaintPendingMethod · 0.45
setDefaultStringMethod · 0.45
scaledFontMethod · 0.45
addPointsMethod · 0.45
addLabelMethod · 0.45
cloneArrayListMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected