returns the coordinates and type of the current path segment in the iteration . the return value is the path segment type : seg_moveto , seg_lineto , or seg_close . a double array of length 6 must be passed in and can be used to store the coordinates of the point s . each point is stored as a pair of double x , y coordinates . seg_moveto and seg_lineto types return one point , and seg_close does not return any points . concode_field_sep int levels[] concode_elem_sep PathIterator src concode_elem_sep double hold[] concode_elem_sep boolean done concode_elem_sep int holdEnd concode_elem_sep int levelIndex concode_elem_sep double squareflat concode_elem_sep double curx concode_elem_sep double movy concode_elem_sep double cury concode_elem_sep double movx concode_elem_sep int limit concode_elem_sep int holdType concode_elem_sep int GROW_SIZE concode_elem_sep int holdIndex concode_field_sep void next concode_elem_sep void next concode_elem_sep void ensureHoldCapacity concode_elem_sep int getRecursionLimit concode_elem_sep int getWindingRule concode_elem_sep double getFlatness concode_elem_sep boolean isDone
int function ( double [ ] arg0 ) { if ( isDone ( ) ) { throw new NoSuchElementException ( "srini_string" ) ; } int loc0 = holdType ; if ( loc0 != SEG_CLOSE ) { arg0 [ 0 ] = hold [ holdIndex + 0 ] ; arg0 [ 1 ] = hold [ holdIndex + 1 ] ; if ( loc0 != SEG_MOVETO ) { loc0 = SEG_LINETO ; } } return loc0 ; }