throw new Error("not implemented");
if (done) throw new NoSuchElementException();  switch (srcSegType) { case PathIterator.SEG_CLOSE: return srcSegType;  case PathIterator.SEG_MOVETO: case PathIterator.SEG_LINETO: coords[0] = srcPosX; coords[1] = srcPosY; return srcSegType;  case PathIterator.SEG_QUADTO: if (stackSize == 0) { coords[0] = srcPosX; coords[1] = srcPosY; } else { int sp = stack.length - 4 * stackSize; coords[0] = stack[sp + 2]; coords[1] = stack[sp + 3];
  public int currentSegment(double[] coords)  {    throw new Error("not implemented");  }