public class ThresholdFigure extends AbstractAttributedFigure implements Displayable
ThresholdOverlaychangingDepth, listenerListpropertySupportCONNECTABLE_PROPERTY, REMOVABLE_PROPERTY, SELECTABLE_PROPERTY, TRANSFORMABLE_PROPERTY| Constructor and Description |
|---|
ThresholdFigure(ImageDisplay display,
Dataset dataset,
ThresholdOverlay overlay) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Point2D.Double pt) |
void |
draw() |
protected void |
drawFill(Graphics2D g) |
protected void |
drawStroke(Graphics2D arg0) |
Rectangle2D.Double |
getBounds() |
Rectangle2D.Double |
getDrawingArea() |
Point2D.Double |
getEndPoint() |
Point2D.Double |
getStartPoint() |
Object |
getTransformRestoreData() |
void |
restoreTransformTo(Object arg0) |
void |
setBounds(Point2D.Double anchor,
Point2D.Double lead) |
void |
transform(AffineTransform arg0) |
applyAttributesTo, clone, draw, drawText, get, getAttributeKey, getAttributes, getAttributesRestoreData, getStroke, getStrokeMiterLimitFactor, hasAttribute, isAttributeEnabled, read, readAttributes, removeAttribute, restoreAttributesTo, set, setAttributeEnabled, setAttributes, write, writeAttributesaddFigureListener, addNotify, changed, createHandles, findCompatibleConnector, findConnector, findFigureInside, fireAreaInvalidated, fireAreaInvalidated, fireAreaInvalidated, fireAttributeChanged, fireFigureAdded, fireFigureChanged, fireFigureChanged, fireFigureChanged, fireFigureHandlesChanged, fireFigureRemoved, fireFigureRequestRemove, fireUndoableEditHappened, getActions, getChangingDepth, getConnectors, getCursor, getDecomposition, getDrawing, getFontRenderContext, getLayer, getLock, getPreferredSize, getTool, getToolTipText, handleDrop, handleMouseClick, includes, invalidate, isChanging, isConnectable, isRemovable, isSelectable, isTransformable, isVisible, remap, removeFigureListener, removeNotify, requestRemove, setBounds, setConnectable, setRemovable, setSelectable, setTransformable, setVisible, toString, validate, willChangeaddPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListenerequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, removePropertyChangeListenerpublic ThresholdFigure(ImageDisplay display, Dataset dataset, ThresholdOverlay overlay)
public boolean contains(Point2D.Double pt)
public Rectangle2D.Double getBounds()
public Object getTransformRestoreData()
getTransformRestoreData in interface Figurepublic void restoreTransformTo(Object arg0)
restoreTransformTo in interface Figurepublic void transform(AffineTransform arg0)
protected void drawStroke(Graphics2D arg0)
drawStroke in class AbstractAttributedFigurepublic Point2D.Double getStartPoint()
getStartPoint in interface FiguregetStartPoint in class AbstractFigurepublic Point2D.Double getEndPoint()
getEndPoint in interface FiguregetEndPoint in class AbstractFigurepublic Rectangle2D.Double getDrawingArea()
getDrawingArea in interface FiguregetDrawingArea in class AbstractAttributedFigurepublic void setBounds(Point2D.Double anchor, Point2D.Double lead)
setBounds in interface FiguresetBounds in class AbstractFigureprotected void drawFill(Graphics2D g)
drawFill in class AbstractAttributedFigurepublic void draw()
draw in interface DisplayableCopyright © 2014–2022 ImageJ. All rights reserved.