Rectangle2D.Double theInsideBox = new
             Rectangle2D.Double(-0.25*ds, -0.25*ds,
                                                0.5*ds, 0.5*ds);
     Rectangle2D.Double theIntersectingBox = new
                      Rectangle2D.Double(0.3*ds, 0.3*ds,
                                                0.5*ds, 0.5*ds);
     Rectangle2D.Double theOutsideBox = new
                Rectangle2D.Double(-1.25*ds, -1.25*ds,
                                                0.5*ds, 0.5*ds);


Figure 8