public class ThresholdFigure extends AbstractAttributedFigure implements Displayable
ThresholdOverlay
changingDepth, listenerList
propertySupport
CONNECTABLE_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, writeAttributes
addFigureListener, 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, willChange
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, firePropertyChange, firePropertyChange, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public ThresholdFigure(ImageDisplay display, Dataset dataset, ThresholdOverlay overlay)
public boolean contains(Point2D.Double pt)
public Rectangle2D.Double getBounds()
public Object getTransformRestoreData()
getTransformRestoreData
in interface Figure
public void restoreTransformTo(Object arg0)
restoreTransformTo
in interface Figure
public void transform(AffineTransform arg0)
protected void drawStroke(Graphics2D arg0)
drawStroke
in class AbstractAttributedFigure
public Point2D.Double getStartPoint()
getStartPoint
in interface Figure
getStartPoint
in class AbstractFigure
public Point2D.Double getEndPoint()
getEndPoint
in interface Figure
getEndPoint
in class AbstractFigure
public Rectangle2D.Double getDrawingArea()
getDrawingArea
in interface Figure
getDrawingArea
in class AbstractAttributedFigure
public void setBounds(Point2D.Double anchor, Point2D.Double lead)
setBounds
in interface Figure
setBounds
in class AbstractFigure
protected void drawFill(Graphics2D g)
drawFill
in class AbstractAttributedFigure
public void draw()
draw
in interface Displayable
Copyright © 2014–2022 ImageJ. All rights reserved.