public class PointROI extends AbstractROIShape
ROIShape, drawn as circle of dimensions
3x3 and origin at Point O(p.x-1|p.y-1).| Modifier and Type | Field and Description |
|---|---|
private Point2D |
location
The center of this ROI shape.
|
private static long |
serialVersionUID
The UID for serialization.
|
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Constructor and Description |
|---|
PointROI(double x,
double y)
A public constructor.
|
PointROI(Point location)
A public constructor.
|
PointROI(Point2D location)
A public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Point2D |
getEndPoint()
Returns the coordinates of the last path segment.
|
Point2D |
getLocation()
Gets the location of this ROI shape.
|
Point2D |
getStartPoint()
Get the first segment and return the start point.
|
void |
setLocation(Point location)
Sets the location of this ROI shape.
|
String |
toString() |
getBoundaryCenter, getPathIterator, isClosed, segmentCodeToString, windingRuleToStringadd, contains, contains, contains, contains, contains, contains, contains, contains, exclusiveOr, getAsBitmask, getAsImage, getAsRectangleList, getAsRectangleList, getAsShape, getBounds, getBounds2D, intersect, intersects, intersects, intersects, intersects, subtract, transformprivate static final long serialVersionUID
private Point2D location
public PointROI(Point location)
public PointROI(Point2D location)
public PointROI(double x,
double y)
public Point2D getLocation()
public void setLocation(Point location)
location - public Point2D getStartPoint()
AbstractROIShapegetStartPoint in class AbstractROIShapepublic Point2D getEndPoint()
AbstractROIShapegetEndPoint in class AbstractROIShapeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.