Assigns the specified ROI to this image and displays it. Any existing ROI is deleted if roi is null or its width or height is zero.
(Roi newRoi)
| 2153 | /** Assigns the specified ROI to this image and displays it. Any existing |
| 2154 | ROI is deleted if <code>roi</code> is null or its width or height is zero. */ |
| 2155 | public void setRoi(Roi newRoi) { |
| 2156 | setRoi(newRoi, true); |
| 2157 | } |
| 2158 | |
| 2159 | /** Assigns 'newRoi' to this image and displays it if 'updateDisplay' is true. */ |
| 2160 | public void setRoi(Roi newRoi, boolean updateDisplay) { |
no test coverage detected