theType = theIterator.currentSegment(
                                                  theData);
       
      switch(theType){
        case PathIterator.SEG_MOVETO :
          System.out.println("SEG_MOVETO");
          newPath.moveTo(theData[0]+1.0f*ds,
                                  theData[1]+1.0f*ds);
          break;

Figure 11