ij.gui
Class OvalRoi
java.lang.Object
ij.gui.Roi
ij.gui.OvalRoi
- All Implemented Interfaces:
- java.lang.Cloneable
public class OvalRoi
- extends Roi
Oval region of interest
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 |
Methods inherited from class ij.gui.Roi |
abortPaste, clone, endPaste, getAngle, getBoundingRect, getColor, getState, getType, grow, handleMouseDown, handleMouseDrag, handleMouseUp, 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 |
OvalRoi
public OvalRoi(int x,
int y,
int width,
int height,
ImagePlus imp)
OvalRoi
public OvalRoi(int x,
int y,
ImagePlus imp)
draw
public void draw(java.awt.Graphics g)
- Overrides:
draw
in class Roi
drawPixels
public void drawPixels()
- Overrides:
drawPixels
in class Roi
contains
public boolean contains(int x,
int y)
- Overrides:
contains
in class Roi
getMask
public int[] getMask()
- Overrides:
getMask
in class Roi
getLength
public double getLength()
- Returns the perimeter length.
- Overrides:
getLength
in class Roi