Package org.gvsig.fmap.geom.primitive
Interface IGeneralPathX
- All Known Implementing Classes:
GeneralPathX
public interface IGeneralPathX
- Author:
- usuario
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int[]static final bytestatic final bytestatic final bytestatic final bytestatic final bytestatic final intAn even-odd winding rule for determining the interior of a path.static final intA non-zero winding rule for determining the interior of a path. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSegment(Point[] segment) voidappend(PathIterator pi, boolean connect) voidappend(GeneralPathX gp) clone()voidbooleancontains(double x, double y) booleancontains(double x, double y, double w, double h) booleanbooleanvoidcurveTo(double x1, double y1, double x2, double y2, double x3, double y3) voidvoidflip()double[]get3DCoordinatesAt(int index) double[]getCoordinatesAt(int index) intintgetPathIterator(AffineTransform at, double flatness) getPointAt(int index) double[]byte[]bytegetTypeAt(int index) intbooleanintersects(double x, double y, double w, double h) booleanbooleanisCCW()booleanisClosed()booleanisSimple()voidlineTo(double x, double y) voidvoidmoveTo(double x, double y) voidvoidquadTo(double x1, double y1, double x2, double y2) voidvoidreProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) voidreset()intsetNumCoords(int numCoords) voidsetNumTypes(int numTypes) voidsetPointCoords(double[] pointCoords) voidsetPointTypes(byte[] pointTypes) voidsetWindingRule(int rule) void
-
Field Details
-
SEG_CLOSE
static final byte SEG_CLOSE- See Also:
-
SEG_CUBICTO
static final byte SEG_CUBICTO- See Also:
-
SEG_LINETO
static final byte SEG_LINETO- See Also:
-
SEG_MOVETO
static final byte SEG_MOVETO- See Also:
-
SEG_QUADTO
static final byte SEG_QUADTO- See Also:
-
WIND_EVEN_ODD
static final int WIND_EVEN_ODDAn even-odd winding rule for determining the interior of a path.- See Also:
-
WIND_NON_ZERO
static final int WIND_NON_ZEROA non-zero winding rule for determining the interior of a path.- See Also:
-
curvesize
static final int[] curvesize
-
-
Method Details
-
addSegment
-
append
-
append
-
clone
Object clone() -
closePath
void closePath() -
contains
boolean contains(double x, double y) -
contains
-
contains
boolean contains(double x, double y, double w, double h) -
contains
-
createTransformedShape
-
curveTo
void curveTo(double x1, double y1, double x2, double y2, double x3, double y3) -
curveTo
-
flip
void flip() -
get3DCoordinatesAt
double[] get3DCoordinatesAt(int index) -
getBounds
Rectangle getBounds() -
getBounds2D
Rectangle2D getBounds2D() -
getCoordinatesAt
double[] getCoordinatesAt(int index) -
getCurrentPoint
Point2D getCurrentPoint() -
getNumCoords
int getNumCoords() -
getNumTypes
int getNumTypes() -
getPathIterator
-
getPathIterator
-
getPointAt
-
getPointCoords
double[] getPointCoords() -
getPointTypes
byte[] getPointTypes() -
getTypeAt
byte getTypeAt(int index) -
getWindingRule
int getWindingRule() -
intersects
boolean intersects(double x, double y, double w, double h) -
intersects
-
isCCW
boolean isCCW() -
isClosed
boolean isClosed() -
isSimple
boolean isSimple() -
lineTo
void lineTo(double x, double y) -
lineTo
-
moveTo
void moveTo(double x, double y) -
moveTo
-
quadTo
void quadTo(double x1, double y1, double x2, double y2) -
quadTo
-
reProject
void reProject(org.gvsig.crs.projection.lib.CoordinateTransformation ct) -
reset
void reset() -
setNumCoords
int setNumCoords(int numCoords) -
setNumTypes
void setNumTypes(int numTypes) -
setPointCoords
void setPointCoords(double[] pointCoords) -
setPointTypes
void setPointTypes(byte[] pointTypes) -
setWindingRule
void setWindingRule(int rule) -
transform
-