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

Method setOverlay

ij/src/main/java/ij/ImagePlus.java:3492–3498  ·  view source on GitHub ↗

Installs a list of ROIs that will be drawn on this image as a non-destructive overlay. @see ij.gui.Roi#setStrokeColor @see ij.gui.Roi#setStrokeWidth @see ij.gui.Roi#setFillColor @see ij.gui.Roi#setLocation @see ij.gui.Roi#setNonScalable

(Overlay overlay)

Source from the content-addressed store, hash-verified

3490 * @see ij.gui.Roi#setNonScalable
3491 */
3492 public void setOverlay(Overlay overlay) {
3493 this.overlay = overlay;
3494 setHideOverlay(false);
3495 ImageCanvas ic = getCanvas();
3496 if (ic!=null)
3497 ic.repaintOverlay();
3498 }
3499
3500 /** Creates an Overlay from the specified Shape, Color
3501 * and BasicStroke, and assigns it to this image.

Callers 15

ImagePlusMethod · 0.95
hideMethod · 0.95
setImageMethod · 0.95
setSliceMethod · 0.95
cropMethod · 0.95
flattenMethod · 0.95
flattenStackMethod · 0.95
flattenImageMethod · 0.95
convertMethod · 0.95
runMethod · 0.95
runMethod · 0.95
openMethod · 0.95

Calls 7

setHideOverlayMethod · 0.95
getCanvasMethod · 0.95
repaintOverlayMethod · 0.95
setStrokeMethod · 0.80
setStrokeColorMethod · 0.45
setStrokeWidthMethod · 0.45
setFillColorMethod · 0.45

Tested by

no test coverage detected