PathIterator
public class FlatteningPathIterator extends java.lang.Object implements PathIterator
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO
Constructor | Description |
---|---|
FlatteningPathIterator(PathIterator path,
double flatness) |
|
FlatteningPathIterator(PathIterator path,
double flatness,
int limit) |
Modifier and Type | Method | Description |
---|---|---|
int |
currentSegment(double[] coords) |
|
int |
currentSegment(float[] coords) |
|
double |
getFlatness() |
|
int |
getRecursionLimit() |
|
int |
getWindingRule() |
|
boolean |
isDone() |
|
void |
next() |
public FlatteningPathIterator(PathIterator path, double flatness)
public FlatteningPathIterator(PathIterator path, double flatness, int limit)
public double getFlatness()
public int getRecursionLimit()
public int getWindingRule()
getWindingRule
in interface PathIterator
public boolean isDone()
isDone
in interface PathIterator
public void next()
next
in interface PathIterator
public int currentSegment(float[] coords)
currentSegment
in interface PathIterator
public int currentSegment(double[] coords)
currentSegment
in interface PathIterator
Copyright © 1998–2018. All rights reserved.