Class RMPathIterator
java.lang.Object
com.inductiveautomation.rm.graphics.RMPathIterator
- All Implemented Interfaces:
- PathIterator
An implementation of path iterator for RMPath.
- 
Field SummaryFields inherited from interface java.awt.geom.PathIteratorSEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
- 
Constructor SummaryConstructorsConstructorDescriptionRMPathIterator(RMPath path, AffineTransform aTransform) Creates a new path iterator for given path.
- 
Method SummaryModifier and TypeMethodDescriptionintcurrentSegment(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.intReturns the path winding rule.booleanisDone()Returns whether path iterator is done.voidnext()Increments path iterator to the next segment.
- 
Constructor Details- 
RMPathIteratorCreates a new path iterator for given path.
 
- 
- 
Method Details- 
currentSegmentpublic int currentSegment(double[] coords) Returns the current segment's segment type and segment points (by reference).- Specified by:
- currentSegmentin interface- PathIterator
 
- 
currentSegmentpublic int currentSegment(float[] coords) Returns the current segment's segment type and segment points (by reference) as floats.- Specified by:
- currentSegmentin interface- PathIterator
 
- 
getWindingRulepublic int getWindingRule()Returns the path winding rule.- Specified by:
- getWindingRulein interface- PathIterator
 
- 
isDonepublic boolean isDone()Returns whether path iterator is done.- Specified by:
- isDonein interface- PathIterator
 
- 
nextpublic void next()Increments path iterator to the next segment.- Specified by:
- nextin interface- PathIterator
 
 
-