ij.gui
Class AbstractRoi
java.lang.Object
ij.gui.AbstractRoi
- All Implemented Interfaces:
- RoiBeans, RoiConstance
- Direct Known Subclasses:
- AttributeRoi
public abstract class AbstractRoi
- extends java.lang.Object
- implements RoiBeans
Title:
Description:
Copyright: Copyright (c) 2011
Company:
Fields inherited from interface ij.gui.RoiConstance |
ADD_TO_ROI, ANGLE, COMPOSITE, CONSTRUCTING, DRAW_HANDLE, EVT_HANDLE_SIZE, FILL_HANDLE, FREELINE, FREEROI, HANDLE_SIZE, LINE, MOVING, MOVING_HANDLE, MOVING_ROUNDRECT_HANDLE, NO_MODS, NORMAL, NOT_PASTING, OVAL, POINT, POLYGON, POLYLINE, RECTANGLE, RESIZING, SUBTRACT_FROM_ROI, TRACED_ROI |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ij.gui.RoiBeans |
abortPaste, contains, copyAttributes, draw, drawHandle, drawOverlay, drawPixels, drawPixels, endPaste, equals, getAngle, getBoundingRect, getBounds, getConvexHull, getCornerDiameter, getDrawOffset, getFeretsDiameter, getFeretValues, getFillColor, getFloatBounds, getFloatPolygon, getHandleSize, getImage, getImageID, getLength, getMask, getName, getPasteMode, getPolygon, getPosition, getPrototypeOverlay, getRoundRectArcSize, getState, getStroke, getStrokeColor, getStrokeWidth, getType, getTypeAsString, isArea, isDrawingTool, isHandle, isLine, isVisible, nudge, nudgeCorner, setCornerDiameter, setDrawOffset, setFillColor, setImage, setInstanceColor, setLineWidth, setLocation, setName, setNonScalable, setPosition, setPosition, setPrototypeOverlay, setRoundRectArcSize, setStroke, setStrokeColor, setStrokeWidth, setStrokeWidth, startPaste, subPixelResolution, toString, update, updateWideLine |
AbstractRoi
public AbstractRoi()
grow
protected abstract void grow(int sx,
int sy)
moveHandle
protected abstract void moveHandle(int sx,
int sy)
updateClipRect
protected abstract void updateClipRect()
clipRectMargin
protected abstract int clipRectMargin()
handleMouseDrag
protected abstract void handleMouseDrag(int sx,
int sy,
int flags)
mouseDownInHandle
protected abstract void mouseDownInHandle(int handle,
int sx,
int sy)
handleMouseDown
protected abstract void handleMouseDown(int sx,
int sy)
handleMouseUp
protected abstract void handleMouseUp(int screenX,
int screenY)
showStatus
protected abstract void showStatus()
getScaledStroke
protected abstract java.awt.BasicStroke getScaledStroke()
getMagnification
protected abstract double getMagnification()
clone
public java.lang.Object clone()
- Returns a copy of this roi. See Thinking is Java by Bruce Eckel
(www.eckelobjects.com) for a good description of object cloning.
- Overrides:
clone
in class java.lang.Object
screenX
protected abstract int screenX(int ox)
screenY
protected abstract int screenY(int oy)
screenXD
protected abstract int screenXD(double ox)
screenYD
protected abstract int screenYD(double oy)