public class InsertionPointHandle extends Handle
DESIGN_SIZE_LARGE, DESIGN_SIZE_SMALL, SIZE_LARGE, SIZE_SMALL
Constructor and Description |
---|
InsertionPointHandle(int x,
int y,
int slice,
java.awt.geom.Point2D centreOfRotation,
boolean antiClocwiseSegmentOrder)
Creates a new InsertionPointHandle at the location (x,y), in screen pixels.
|
Modifier and Type | Method and Description |
---|---|
void |
draw(java.awt.Graphics g)
Draws this InsertionPointHandle using the given Graphics context.
|
int |
getSlice()
Returns the physical slice number to which this InsertionPointHandle applies.
|
java.lang.String |
toString()
Returns a java.lang.String describing this Handle.
|
clone, getBorderColor, getColor, getSize, getSize, getSize, pointOver, setBorderColor, setColor, setSize
equals, getLocation, getX, getY, move, setLocation, setLocation, setLocation, translate
public InsertionPointHandle(int x, int y, int slice, java.awt.geom.Point2D centreOfRotation, boolean antiClocwiseSegmentOrder)
x
- the x location of the InsertionPointHandle in screen coords.y
- the y location of the InsertionPointHandle in screen coords.slice
- the image slice number on which the InsertionPointHandle is drawn.centreOfRotation
- the point in window coordinates about which the ROIs will be
rotated when using this handle. Used to assist in the drawing of the segment direction arrow.antiClocwiseSegmentOrder
- true if the segment direction is anti-clockwise.Copyright 2017 Xinapse Systems Limited. All Rights Reserved.