Sets the display mode of composite color images, where 'mode' should be IJ.COMPOSITE, IJ.COLOR or IJ.GRAYSCALE.
(int mode)
| 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 |
no test coverage detected