API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt.geom. FlatteningPathIterator View Source
Author(s)
Jim Graham
Since
Version
1.6 06/29/98
Serial
Hierarchy
 Object
      FlatteningPathIterator
Implements
 PathIterator
Subclasses
Description
public class FlatteningPathIterator
  The FlatteningPathIterator class returns a flattened view of another PathIterator object.
See also:   
Constructors
public FlatteningPathIterator (PathIterator src, double flatness)
  Constructs a new FlatteningPathIterator object that flattens a path as it iterates over it.
public FlatteningPathIterator (PathIterator src, double flatness, int limit)
  Constructs a new FlatteningPathIterator object that flattens a path as it iterates over it.
Methods
Hide/Show inherited methods
public int currentSegment (double[] coords) [Specified in PathIterator]
  Returns the coordinates and type of the current path segment in the iteration.
public int currentSegment (float[] coords) [Specified in PathIterator]
  Returns the coordinates and type of the current path segment in the iteration.
pack-private void ensureHoldCapacity (int want)
public double getFlatness ()
  Returns the flatness of this iterator.
public int getRecursionLimit ()
  Returns the recursion limit of this iterator.
public int getWindingRule () [Specified in PathIterator]
  Returns the winding rule for determining the interior of the path.
public boolean isDone () [Specified in PathIterator]
  Tests if the iteration is complete.
public void next () [Specified in PathIterator]
Moves the iterator to the next segment of the path forwards along the primary direction of traversal as long as there are more points in that direction.
Fields
Hide/Show inherited fields
pack-private double curx
pack-private double cury
pack-private boolean done
pack-privatefinalstatic int GROW_SIZE = "24"
pack-private double hold
pack-private int holdEnd
pack-private int holdIndex
pack-private int holdType
pack-private int levelIndex
pack-private int levels
pack-private int limit
pack-private double movx
pack-private double movy
publicfinalstatic int SEG_CLOSE = "4" [Inherited From PathIterator]
The segment type constant that specifies that the preceding subpath should be closed by appending a line segment back to the point corresponding to the most recent SEG_MOVETO.
publicfinalstatic int SEG_CUBICTO = "3" [Inherited From PathIterator]
  The segment type constant for the set of 3 points that specify a cubic parametric curve to be drawn from the most recently specified point.
publicfinalstatic int SEG_LINETO = "1" [Inherited From PathIterator]
The segment type constant for a point that specifies the end point of a line to be drawn from the most recently specified point.
publicfinalstatic int SEG_MOVETO = "0" [Inherited From PathIterator]
The segment type constant for a point that specifies the starting location for a new subpath.
publicfinalstatic int SEG_QUADTO = "2" [Inherited From PathIterator]
  The segment type constant for the pair of points that specify a quadratic parametric curve to be drawn from the most recently specified point.
pack-private double squareflat
pack-private PathIterator src
publicfinalstatic int WIND_EVEN_ODD = "0" [Inherited From PathIterator]
  The winding rule constant for specifying an even-odd rule for determining the interior of a path.
publicfinalstatic int WIND_NON_ZERO = "1" [Inherited From PathIterator]
  The winding rule constant for specifying a non-zero rule for determining the interior of a path.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar