com.itextpdf.awt.geom
Class FlatteningPathIterator

java.lang.Object
  extended by com.itextpdf.awt.geom.FlatteningPathIterator
All Implemented Interfaces:
PathIterator

public class FlatteningPathIterator
extends Object
implements PathIterator


Field Summary
 
Fields inherited from interface com.itextpdf.awt.geom.PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
 
Constructor Summary
FlatteningPathIterator(PathIterator path, double flatness)
           
FlatteningPathIterator(PathIterator path, double flatness, int limit)
           
 
Method Summary
 int currentSegment(double[] coords)
           
 int currentSegment(float[] coords)
           
 double getFlatness()
           
 int getRecursionLimit()
           
 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

FlatteningPathIterator

public FlatteningPathIterator(PathIterator path,
                              double flatness)

FlatteningPathIterator

public FlatteningPathIterator(PathIterator path,
                              double flatness,
                              int limit)
Method Detail

getFlatness

public double getFlatness()

getRecursionLimit

public int getRecursionLimit()

getWindingRule

public int getWindingRule()
Specified by:
getWindingRule in interface PathIterator

isDone

public boolean isDone()
Specified by:
isDone in interface PathIterator

next

public void next()
Specified by:
next in interface PathIterator

currentSegment

public int currentSegment(float[] coords)
Specified by:
currentSegment in interface PathIterator

currentSegment

public int currentSegment(double[] coords)
Specified by:
currentSegment in interface PathIterator


Copyright © 2013. All Rights Reserved.