Package com.reportmill.graphics
Class RMPathIterator
- java.lang.Object
- 
- com.reportmill.graphics.RMPathIterator
 
- 
- All Implemented Interfaces:
- java.awt.geom.PathIterator
 
 public class RMPathIterator extends java.lang.Object implements java.awt.geom.PathIteratorAn implementation of path iterator for RMPath.
- 
- 
Constructor SummaryConstructors Constructor Description RMPathIterator(RMPath path, java.awt.geom.AffineTransform aTransform)Creates a new path iterator for given path.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcurrentSegment(double[] coords)Returns the current segment's segment type and segment points (by reference).intcurrentSegment(float[] coords)Returns the current segment's segment type and segment points (by reference) as floats.intgetWindingRule()Returns the path winding rule.booleanisDone()Returns whether path iterator is done.voidnext()Increments path iterator to the next segment.
 
- 
- 
- 
Constructor Detail- 
RMPathIteratorpublic RMPathIterator(RMPath path, java.awt.geom.AffineTransform aTransform) Creates a new path iterator for given path.
 
- 
 - 
Method Detail- 
currentSegmentpublic int currentSegment(double[] coords) Returns the current segment's segment type and segment points (by reference).- Specified by:
- currentSegmentin interface- java.awt.geom.PathIterator
 
 - 
currentSegmentpublic int currentSegment(float[] coords) Returns the current segment's segment type and segment points (by reference) as floats.- Specified by:
- currentSegmentin interface- java.awt.geom.PathIterator
 
 - 
getWindingRulepublic int getWindingRule() Returns the path winding rule.- Specified by:
- getWindingRulein interface- java.awt.geom.PathIterator
 
 - 
isDonepublic boolean isDone() Returns whether path iterator is done.- Specified by:
- isDonein interface- java.awt.geom.PathIterator
 
 - 
nextpublic void next() Increments path iterator to the next segment.- Specified by:
- nextin interface- java.awt.geom.PathIterator
 
 
- 
 
-