|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectij.gui.Overlay
public class Overlay
An Overlay is a list of Rois that can be drawn non-destructively on an Image.
Constructor Summary | |
---|---|
Overlay()
Constructs an empty Overlay. |
|
Overlay(Roi roi)
Constructs an Overlay and adds the specified Roi. |
Method Summary | |
---|---|
void |
add(Roi roi)
Adds an Roi to this Overlay. |
void |
addElement(Roi roi)
Adds an Roi to this Overlay. |
void |
clear()
Removes all the Rois in this Overlay. |
void |
drawLabels(boolean b)
|
Roi |
get(int index)
Returns the Roi with the specified index. |
void |
remove(int index)
Removes the Roi with the specified index from this Overlay. |
void |
remove(Roi roi)
Removes the specified Roi from this Overlay. |
void |
setFillColor(java.awt.Color color)
Sets the fill color of all the Rois in this overlay. |
void |
setStrokeColor(java.awt.Color color)
Sets the stroke color of all the Rois in this overlay. |
int |
size()
Returns the number of Rois in this Overlay. |
void |
temporarilyHide(int index1,
int index2)
|
Roi[] |
toArray()
Returns on array containing the Rois in this Overlay. |
java.lang.String |
toString()
Draws outlines of the Rois in this Overlay on the specified ImageProcessor using the current color and line width of 'ip'. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Overlay()
public Overlay(Roi roi)
Method Detail |
---|
public void add(Roi roi)
public void addElement(Roi roi)
public void remove(int index)
public void remove(Roi roi)
public void clear()
public Roi get(int index)
public int size()
public Roi[] toArray()
public void setStrokeColor(java.awt.Color color)
public void setFillColor(java.awt.Color color)
public java.lang.String toString()
toString
in class java.lang.Object
public void drawLabels(boolean b)
public void temporarilyHide(int index1, int index2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |