Maven module :un.api : api-geometry :
Class : un.impl.geometry.path.PathIterator
Extends/Implements : -
Subclasses : -

author  Johann Sorel


Variables : TYPE_MOVE_TO, TYPE_LINE_TO, TYPE_CLOSE, TYPE_CUBIC, TYPE_QUADRATIC, TYPE_ARC
Functions : reset, next, getType, getPosition, getFirstControl, getSecondControl, getArcParameters, getLargeArcFlag, getSweepFlag




public int TYPE_MOVE_TO

public int TYPE_LINE_TO

public int TYPE_CLOSE

public int TYPE_CUBIC

public int TYPE_QUADRATIC

public int TYPE_ARC



Return to iteration beginning.
void reset ()


return  true if next step exist.
boolean next ()


return  current step type
int getType ()


This step position.
param  buffer Coordinate : must not be null
return  Coordinate
Tuple getPosition (Tuple buffer)


If step is Cubic, get the first control point.
If step is Quadratic, get the control point.
param  buffer Coordinate : must not be null
return  Coordinate
Tuple getFirstControl (Tuple buffer)


If step is Cubic, get the second control point.
param  buffer Coordinate : must not be null
return  Coordinate
Tuple getSecondControl (Tuple buffer)


If step is Arc, get the arc x , y radius and x rotation.
param  buffer Coordinate : must not be null
return  Coordinate
Tuple getArcParameters (Tuple buffer)


If step is Arc, get large arc flag.
return  boolean
boolean getLargeArcFlag ()


If step is Arc, get sweep flag.
return  boolean
boolean getSweepFlag ()