public abstract class AbstractROIShape extends javax.media.jai.ROIShape implements ISerializableROI
| Modifier and Type | Field and Description |
|---|---|
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 |
|---|
AbstractROIShape(Area a) |
AbstractROIShape(Shape s) |
| Modifier and Type | Method and Description |
|---|---|
Point2D |
getBoundaryCenter()
Returns the center point of the boundary rectangle.
|
Point2D |
getEndPoint()
Returns the coordinates of the last path segment.
|
PathIterator |
getPathIterator()
Get the underlying path iterator of the shape.
|
Point2D |
getStartPoint()
Get the first segment and return the start point.
|
boolean |
isClosed() |
static String |
segmentCodeToString(int segmentCode)
Converts the segment code to a string.
|
static String |
windingRuleToString(int windCode)
Converts the winding rule code to a readable string.
|
add, 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
public AbstractROIShape(Shape s)
public AbstractROIShape(Area a)
public static String segmentCodeToString(int segmentCode)
segmentCode - public static String windingRuleToString(int windCode)
windCode - public boolean isClosed()
public Point2D getStartPoint()
public Point2D getEndPoint()
public Point2D getBoundaryCenter()
public PathIterator getPathIterator()
ISerializableROIgetPathIterator in interface ISerializableROICopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.