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

Method setDisplayMode

ij/src/main/java/ij/ImagePlus.java:422–427  ·  view source on GitHub ↗

Sets the display mode of composite color images, where 'mode' should be IJ.COMPOSITE, IJ.COLOR or IJ.GRAYSCALE.

(int mode)

Source from the content-addressed store, hash-verified

420 /** Sets the display mode of composite color images, where 'mode'
421 should be IJ.COMPOSITE, IJ.COLOR or IJ.GRAYSCALE. */
422 public void setDisplayMode(int mode) {
423 if (this instanceof CompositeImage) {
424 ((CompositeImage)this).setMode(mode);
425 updateAndDraw();
426 }
427 }
428
429 /** Returns the display mode (IJ.COMPOSITE, IJ.COLOR
430 or IJ.GRAYSCALE) if this is a composite color

Callers 1

runMethod · 0.95

Calls 2

updateAndDrawMethod · 0.95
setModeMethod · 0.45

Tested by

no test coverage detected