edu.umd.cs.jazz.component
Class ZCoordListShape.ZCoordListIterator

java.lang.Object
  |
  +--edu.umd.cs.jazz.component.ZCoordListShape.ZCoordListIterator
All Implemented Interfaces:
java.awt.geom.PathIterator
Enclosing class:
edu.umd.cs.jazz.component.ZCoordListShape

protected static class ZCoordListShape.ZCoordListIterator
extends java.lang.Object
implements java.awt.geom.PathIterator

This is the path iterator used to iterate over the ZCoordList. If the ZCoordList is marked as closed then this iterator will return a PathIterator.SEG_CLOSE as its last segment.


Fields inherited from interface java.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
 
Constructor Summary
ZCoordListShape.ZCoordListIterator(edu.umd.cs.jazz.component.ZCoordListShape pl, java.awt.geom.AffineTransform at, boolean isClosed)
           
 
Method Summary
 int currentSegment(double[] coords)
           
 int currentSegment(float[] coords)
           
 int getWindingRule()
           
 boolean isDone()
           
 void next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZCoordListShape.ZCoordListIterator

public ZCoordListShape.ZCoordListIterator(edu.umd.cs.jazz.component.ZCoordListShape pl,
                                          java.awt.geom.AffineTransform at,
                                          boolean isClosed)
Method Detail

currentSegment

public int currentSegment(double[] coords)
Specified by:
currentSegment in interface java.awt.geom.PathIterator

currentSegment

public int currentSegment(float[] coords)
Specified by:
currentSegment in interface java.awt.geom.PathIterator

getWindingRule

public int getWindingRule()
Specified by:
getWindingRule in interface java.awt.geom.PathIterator

isDone

public boolean isDone()
Specified by:
isDone in interface java.awt.geom.PathIterator

next

public void next()
Specified by:
next in interface java.awt.geom.PathIterator


Copyright © 2001 by University of Maryland, College Park, MD 20742, USA All rights reserved.