@Override public PathIterator getPathIterator(AffineTransform at) { return new BezierPathIterator(this, at); }
/** * 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. */ @Override public void next() { if (! isDone()) { index++; } }
@Override public PathIterator getPathIterator(AffineTransform at, double flatness) { return new FlatteningPathIterator(new BezierPathIterator(this, at), flatness); }