class DreieckIterator extends Object implements PathIterator
| Modifier and Type | Field and Description |
|---|---|
private AffineTransform |
affine
Affine Transformation der Dreieckspunkte
|
private int |
index
Index des aktuellen Punkts der Iteration
|
private double |
x1
X-Koordinate des ersten Punkts
|
private double |
x2
X-Koordinate des zweiten Punkts
|
private double |
x3
X-Koordinate des dritten Punkts
|
private double |
y1
Y-Koordinate des ersten Punkts
|
private double |
y2
Y-Koordinate des zweiten Punkts
|
private double |
y3
Y-Koordinate des dritten Punkts
|
SEG_CLOSE, SEG_CUBICTO, SEG_LINETO, SEG_MOVETO, SEG_QUADTO, WIND_EVEN_ODD, WIND_NON_ZERO| Constructor and Description |
|---|
DreieckIterator(Dreieck2D dreieck,
AffineTransform affine)
Erzeugt eine Iteration über die Punkte des Dreiecks
|
| Modifier and Type | Method and Description |
|---|---|
int |
currentSegment(double[] coords) |
int |
currentSegment(float[] coords) |
int |
getWindingRule() |
boolean |
isDone() |
void |
next() |
private final double x1
private final double y1
private final double x2
private final double y2
private final double x3
private final double y3
private final AffineTransform affine
private int index
DreieckIterator(Dreieck2D dreieck, AffineTransform affine)
dreieck - Ein Dreieckaffine - Eine affine Transformationpublic int currentSegment(float[] coords)
currentSegment in interface PathIteratorPathIterator.currentSegment(float[])public int currentSegment(double[] coords)
currentSegment in interface PathIteratorPathIterator.currentSegment(double[])public int getWindingRule()
getWindingRule in interface PathIteratorPathIterator.getWindingRule()public boolean isDone()
isDone in interface PathIteratorPathIterator.isDone()public void next()
next in interface PathIteratorPathIterator.next()Copyright © 2017 BitCtrl Systems GmbH. All rights reserved.