Sets the stack position (image number) of this ROI. In an overlay, this ROI is only displayed when the stack is at the specified position. Set to zero to have the ROI displayed on all images in the stack. Clears the hyperStackPosition, if there was one. @see ij.gui.Overlay
(int n)
| 2229 | * @see ij.gui.Overlay |
| 2230 | */ |
| 2231 | public void setPosition(int n) { |
| 2232 | if (n<0) n=0; |
| 2233 | position = n; |
| 2234 | channel = slice = frame = 0; |
| 2235 | } |
| 2236 | |
| 2237 | /** Returns the stack position (image number) for displaying this ROI, |
| 2238 | * in an overlay (or the RoiManager's 'Show All'. Returns zero if the |
no test coverage detected