public static final class GeometryUtils.PathSegment extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
double[] |
coords
Coordinates necessary to draw the segment.
|
Point2D |
end
End point.
|
Point2D |
start
Starting point.
|
int |
type
Segment type id as defined in
PathIterator . |
Constructor and Description |
---|
GeometryUtils.PathSegment(int type,
Point2D start,
Point2D end,
double[] coords)
Initializes a new instance with type, starting and end point, and
all other coordinates that are necessary to draw the segment.
|
public final int type
PathIterator
.public final Point2D start
public final Point2D end
public final double[] coords
public GeometryUtils.PathSegment(int type, Point2D start, Point2D end, double[] coords)
type
- Segment type id as defined in PathIterator
.start
- Starting point.end
- End point.coords
- Array of coordinates necessary to draw the segment.Copyright © 2009-2013. All Rights Reserved.