ij.gui
Class FreehandRoi

java.lang.Object
  extended by ij.gui.Roi
      extended by ij.gui.PolygonRoi
          extended by ij.gui.FreehandRoi
All Implemented Interfaces:
java.lang.Cloneable

public class FreehandRoi
extends PolygonRoi

Freehand region of interest or freehand line of interest


Field Summary
 
Fields inherited from class ij.gui.PolygonRoi
g, maxPoints, nPoints, xp, xp2, yp, yp2
 
Fields inherited from class ij.gui.Roi
clipboard, clipHeight, clipWidth, clipX, clipY, constrain, CONSTRUCTING, FREELINE, FREEROI, HANDLE_SIZE, ic, imp, LINE, MOVING, NORMAL, oldHeight, oldWidth, oldX, oldY, OVAL, pasteMode, POLYGON, POLYLINE, previousRoi, RECTANGLE, RESIZING, ROIColor, TRACED_ROI, type, updateFullWindow, xMax, yMax
 
Constructor Summary
FreehandRoi(int x, int y, ImagePlus imp)
           
 
Method Summary
protected  void grow(int ox, int oy)
           
protected  void handleMouseUp(int screenX, int screenY)
           
 
Methods inherited from class ij.gui.PolygonRoi
contains, draw, drawPixels, getAngle, getLength, getMask, getNCoordinates, getXCoordinates, getYCoordinates, updatePolygon
 
Methods inherited from class ij.gui.Roi
abortPaste, clone, endPaste, getAngle, getBoundingRect, getColor, getState, getType, handleMouseDown, handleMouseDrag, nudge, nudgeCorner, setColor, setImage, setLocation, setPasteMode, showStatus, toString, updateClipRect
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreehandRoi

public FreehandRoi(int x,
                   int y,
                   ImagePlus imp)
Method Detail

grow

protected void grow(int ox,
                    int oy)
Overrides:
grow in class PolygonRoi

handleMouseUp

protected void handleMouseUp(int screenX,
                             int screenY)
Overrides:
handleMouseUp in class PolygonRoi