Class Roi

java.lang.Object
org.micromanager.ndviewer.overlay.Roi
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Line, OvalRoi, TextRoi

public class Roi
extends Object
implements Cloneable, Serializable
A rectangular region of interest and superclass for the other ROI classes. This class implements Iterable<Point> and can thus be used to iterate over the contained coordinates. Usage example:
 Roi roi = ...;
 for (Point p : roi) {
   // process p
 }
 
See Also:
Serialized Form