Package com.xinapse.multisliceimage.roi
Class VertexHandle
java.lang.Object
java.awt.geom.Point2D
java.awt.Point
com.xinapse.multisliceimage.roi.Handle
com.xinapse.multisliceimage.roi.VertexHandle
- All Implemented Interfaces:
Serializable
,Cloneable
A Class representing a Handle at one of the vertices of an EditableOutlineROI.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the possible spacing factors for VertexHandles when displayed on an ROI, to prevent then being shown too close together.static class
A JPanel for selecting the vertex handle spacing.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
ConstructorDescriptionVertexHandle
(int x, int y) Creates a new VertexHandle at the location (x,y) with the given size in screen pixels. -
Method Summary
Methods inherited from class com.xinapse.multisliceimage.roi.Handle
clone, getBorderColor, getColor, getSize, getSize, getSize, setBorderColor, setColor, setSize
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
-
VertexHandle
public VertexHandle(int x, int y) Creates a new VertexHandle 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.
-
-
Method Details