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

Method clone

ij/src/main/java/ij/gui/ImageRoi.java:128–134  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127
128 public synchronized Object clone() {
129 ImageRoi roi2 = (ImageRoi)super.clone();
130 ImagePlus imp = new ImagePlus("", img);
131 roi2.setProcessor(imp.getProcessor());
132 roi2.setOpacity(getOpacity());
133 return roi2;
134 }
135
136 public ImageProcessor getProcessor() {
137 if (ip!=null)

Callers

nothing calls this directly

Calls 5

setProcessorMethod · 0.95
getProcessorMethod · 0.95
setOpacityMethod · 0.95
getOpacityMethod · 0.95
cloneMethod · 0.65

Tested by

no test coverage detected