|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.iver.cit.gvsig.fmap.core.GeneralPathXIterator com.iver.cit.gvsig.fmap.core.FPointIterator
(Sacado de GT2)
Field Summary |
Fields inherited from interface java.awt.geom.PathIterator |
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO |
Constructor Summary | |
FPointIterator(java.awt.geom.Point2D p,
java.awt.geom.AffineTransform at)
Creates a new PointIterator object. |
Method Summary | |
int |
currentSegment(double[] coords)
Returns the coordinates and type of the current path segment in the iteration. |
int |
currentSegment(float[] coords)
Returns the coordinates and type of the current path segment in the iteration. |
int |
getWindingRule()
Return the winding rule for determining the interior of the path. |
boolean |
isDone()
Tests if there are more points to read. |
void |
next()
Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FPointIterator(java.awt.geom.Point2D p, java.awt.geom.AffineTransform at)
p
- The polygonat
- The affine transform applied to coordinates during iterationMethod Detail |
public int getWindingRule()
getWindingRule
in interface java.awt.geom.PathIterator
getWindingRule
in class GeneralPathXIterator
WIND_EVEN_ODD
by default.PathIterator.WIND_EVEN_ODD
,
PathIterator.WIND_NON_ZERO
public void next()
GeneralPathXIterator
next
in interface java.awt.geom.PathIterator
next
in class GeneralPathXIterator
PathIterator.next()
public boolean isDone()
GeneralPathXIterator
isDone
in interface java.awt.geom.PathIterator
isDone
in class GeneralPathXIterator
PathIterator.isDone()
public int currentSegment(double[] coords)
GeneralPathXIterator
currentSegment
in interface java.awt.geom.PathIterator
currentSegment
in class GeneralPathXIterator
PathIterator.currentSegment(double[])
public int currentSegment(float[] coords)
GeneralPathXIterator
currentSegment
in interface java.awt.geom.PathIterator
currentSegment
in class GeneralPathXIterator
PathIterator.SEG_MOVETO
,
PathIterator.SEG_LINETO
,
PathIterator.SEG_QUADTO
,
PathIterator.SEG_CUBICTO
,
PathIterator.SEG_CLOSE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |