|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.graphics.QuadCurve.QuadPathIterator
Quad Path Iterator.
Field Summary |
Fields inherited from interface yu.ac.bg.etf.javaqx.qswing.graphics.PathIterator |
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO |
Constructor Summary | |
QuadCurve.QuadPathIterator(QuadCurve quad)
Constructs new QuadPathIterator object. |
Method Summary | |
int |
currentSegment(int[] coords)
Returns the coordinates and type of the current path segment. |
int |
getWindingRule()
Returns the winding rule. |
boolean |
isDone()
Returns true if the iteration is complete. |
void |
next()
Moves the iterator to the next segment of the path. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public QuadCurve.QuadPathIterator(QuadCurve quad)
quad
- the quad curveMethod Detail |
public int getWindingRule()
getWindingRule
in interface PathIterator
public boolean isDone()
isDone
in interface PathIterator
public void next()
next
in interface PathIterator
public int currentSegment(int[] coords)
currentSegment
in interface PathIterator
coords
- an array of length 6 that can be used to store the
coordinates of the points
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |