Package com.xinapse.multisliceimage.roi
Class AxisHandle
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
com.xinapse.multisliceimage.roi.Handle
com.xinapse.multisliceimage.roi.AxisHandle
- All Implemented Interfaces:
Serializable
,Cloneable
- Direct Known Subclasses:
ANegativeHandle
,APositiveHandle
,BNegativeHandle
,BPositiveHandle
A Class representing a Handle at the end of an axis on an EllipticalROI.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.geom.Point2D
Point2D.Double, Point2D.Float
-
Field Summary
Fields inherited from class com.xinapse.multisliceimage.roi.Handle
DESIGN_SIZE_LARGE, DESIGN_SIZE_SMALL, SIZE_LARGE, SIZE_SMALL
-
Constructor Summary
ConstructorDescriptionAxisHandle
(int x, int y, int size) Creates a new AxisHandle at the location (x,y) with the given size in screen pixels. -
Method Summary
Methods inherited from class com.xinapse.multisliceimage.roi.Handle
clone, draw, getBorderColor, getColor, getSize, getSize, getSize, pointOver, setBorderColor, setColor, setSize, toString
Methods inherited from class java.awt.Point
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
Methods inherited from class java.awt.geom.Point2D
distance, distance, distance, distanceSq, distanceSq, distanceSq, hashCode, setLocation
-
Constructor Details
-
AxisHandle
public AxisHandle(int x, int y, int size) Creates a new AxisHandle at the location (x,y) with the given size in screen pixels.- Parameters:
x
- the x location of the Handle in screen coords.y
- the y location of the Handle in screen coords.size
- the size of the Handle in screen pixels.
-