public int currentSegment(float[] coords) { if (isDone()) { // awt.4B=Iterator out of bounds throw new NoSuchElementException(Messages.getString("awt.4B")); //$NON-NLS-1$ } int type; if (index == 0) { type = SEG_MOVETO; coords[0] = (float)x1; coords[1] = (float)y1; } else { type = SEG_LINETO; coords[0] = (float)x2; coords[1] = (float)y2; } if (t != null) { t.transform(coords, 0, coords, 0, 1); } return type; }
public int currentSegment(double[] coords) { if (isDone()) { // awt.4B=Iterator out of bounds throw new NoSuchElementException(Messages.getString("awt.4B")); //$NON-NLS-1$ } int type; if (index == 0) { type = SEG_MOVETO; coords[0] = x1; coords[1] = y1; } else { type = SEG_LINETO; coords[0] = x2; coords[1] = y2; } if (t != null) { t.transform(coords, 0, coords, 0, 1); } return type; }
public int currentSegment(float[] coords) { if (isDone()) { // awt.4B=Iterator out of bounds throw new NoSuchElementException(Messages.getString("awt.4B")); //$NON-NLS-1$ } int type; if (index == 0) { type = SEG_MOVETO; coords[0] = (float)x1; coords[1] = (float)y1; } else { type = SEG_LINETO; coords[0] = (float)x2; coords[1] = (float)y2; } if (t != null) { t.transform(coords, 0, coords, 0, 1); } return type; }
public int currentSegment(double[] coords) { if (isDone()) { // awt.4B=Iterator out of bounds throw new NoSuchElementException(Messages.getString("awt.4B")); //$NON-NLS-1$ } int type; if (index == 0) { type = SEG_MOVETO; coords[0] = x1; coords[1] = y1; } else { type = SEG_LINETO; coords[0] = x2; coords[1] = y2; } if (t != null) { t.transform(coords, 0, coords, 0, 1); } return type; }
public PathIterator getPathIterator(AffineTransform at, double flatness) { return new Iterator(this, at); }
public PathIterator getPathIterator(AffineTransform at) { return new Iterator(this, at); }
public PathIterator getPathIterator(AffineTransform at) { return new Iterator(this, at); }
public PathIterator getPathIterator(AffineTransform at, double flatness) { return new Iterator(this, at); }