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.io.Serializable, java.lang.Cloneable

public class FreehandRoi
extends PolygonRoi

Freehand region of interest or freehand line of interest

See Also:
Serialized Form

Field Summary
 
Fields inherited from class ij.gui.PolygonRoi
maxPoints, nPoints, splinePoints, xp, xp2, xSpline, yp, yp2, ySpline
 
Fields inherited from class ij.gui.Roi
ANGLE, asp_bk, aspect, cachedMask, center, clipboard, clipHeight, clipWidth, clipX, clipY, COMPOSITE, constrain, CONSTRUCTING, defaultFillColor, fillColor, FREELINE, FREEROI, HANDLE_SIZE, handleColor, ic, imp, instanceColor, LINE, lineWidth, mag, MOVING, MOVING_HANDLE, name, nonScalable, NORMAL, NOT_PASTING, oldHeight, oldWidth, oldX, oldY, onePixelWide, OVAL, overlay, pasteMode, POINT, POLYGON, POLYLINE, previousRoi, RECTANGLE, RESIZING, ROIColor, stroke, strokeColor, TRACED_ROI, type, updateFullWindow, wideLine, xMax, yMax
 
Constructor Summary
FreehandRoi(int sx, int sy, ImagePlus imp)
           
 
Method Summary
protected  void grow(int sx, int sy)
           
protected  void handleMouseUp(int screenX, int screenY)
           
 
Methods inherited from class ij.gui.PolygonRoi
addOffset, clipRectMargin, clone, contains, draw, drawPixels, exitConstructingMode, fitSpline, fitSpline, fitSplineForStraightening, getAngle, getConvexHull, getFloatPolygon, getLength, getMask, getNCoordinates, getNonSplineCoordinates, getPolygon, getUncalibratedLength, getXCoordinates, getYCoordinates, isHandle, isSplineFit, mouseDownInHandle, moveHandle, removeSplineFit, updatePolygon
 
Methods inherited from class ij.gui.Roi
abortPaste, copyAttributes, drawOverlay, drawPixels, endPaste, equals, getAngle, getBoundingRect, getBounds, getColor, getCurrentPasteMode, getDefaultFillColor, getFeretsDiameter, getFeretValues, getFillColor, getImageID, getName, getPasteMode, getRoundRectArcSize, getScaledStroke, getState, getStroke, getStrokeColor, getStrokeWidth, getType, getTypeAsString, handleMouseDown, handleMouseDrag, isArea, isDrawingTool, isLine, isVisible, nudge, nudgeCorner, setColor, setDefaultFillColor, setFillColor, setImage, setInstanceColor, setLineWidth, setLocation, setName, setNonScalable, setPasteMode, setRoundRectArcSize, setStroke, setStrokeColor, setStrokeWidth, showStatus, startPaste, toString, update, updateClipRect, updateWideLine
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FreehandRoi

public FreehandRoi(int sx,
                   int sy,
                   ImagePlus imp)
Method Detail

grow

protected void grow(int sx,
                    int sy)
Overrides:
grow in class PolygonRoi

handleMouseUp

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