private void addDrawingRect(Rectangle2D rect,float x,float y){
  addDrawingRect((float)(rect.getX() + x),(float)(rect.getY() + y),(float)rect.getWidth(),(float)rect.getHeight());
}

private void addDrawingRect ( Rectangle2D rect , float x , float y ) { addDrawingRect ( ( float ) ( rect . getX ( ) + x ) , ( float ) ( rect . getY ( ) + y ) , ( float ) rect . getWidth ( ) , ( float ) rect . getHeight ( ) ) ; }
shift the rectangle ' rect ' to the position ( ' x ' , ' y ' ) and add the resulting rectangle to the area representing the part of the page which is drawn into .
