

PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 
public interface ExtendedPathIterator
The ExtendedPathIterator
class represents a geometric
path constructed from straight lines, quadratic and cubic (Bezier)
curves and elliptical arcs. This interface is identical to that of
PathIterator except it can return SEG_ARCTO from currentSegment,
also the array of values passed to currentSegment must be of length
7 or an error will be thrown.
This does not extend PathIterator as it would break the interface
contract for that class.
Field Summary  

static int 
SEG_ARCTO
The segment type constant for an elliptical arc. 
static int 
SEG_CLOSE
The segment type constant that specifies that the preceding subpath should be closed by appending a line segment back to the point corresponding to the most recent SEG_MOVETO. 
static int 
SEG_CUBICTO
The segment type constant for the set of 3 points that specify a cubic parametric curve to be drawn from the most recently specified point. 
static int 
SEG_LINETO
The segment type constant for a point that specifies the end point of a line to be drawn from the most recently specified point. 
static int 
SEG_MOVETO
The segment type constant for a point that specifies the end point of a line to be drawn from the most recently specified point. 
static int 
SEG_QUADTO
The segment type constant for the pair of points that specify a quadratic parametric curve to be drawn from the most recently specified point. 
static int 
WIND_EVEN_ODD
The winding rule constant for specifying an evenodd rule for determining the interior of a path. 
static int 
WIND_NON_ZERO
The winding rule constant for specifying a nonzero rule for determining the interior of a path. 
Method Summary  

int 
currentSegment()

int 
currentSegment(double[] coords)

int 
currentSegment(float[] coords)

int 
getWindingRule()

boolean 
isDone()

void 
next()

Field Detail 

static final int SEG_CLOSE
static final int SEG_MOVETO
static final int SEG_LINETO
static final int SEG_QUADTO
static final int SEG_CUBICTO
static final int SEG_ARCTO
static final int WIND_EVEN_ODD
static final int WIND_NON_ZERO
Method Detail 

int currentSegment()
int currentSegment(double[] coords)
int currentSegment(float[] coords)
int getWindingRule()
boolean isDone()
void next()


PREV CLASS NEXT CLASS  FRAMES NO FRAMES  
SUMMARY: NESTED  FIELD  CONSTR  METHOD  DETAIL: FIELD  CONSTR  METHOD 