ImgComp(BufferedImage img,Rectangle off,boolean right){
  this.img=img;
  at=AffineTransform.getTranslateInstance(-off.x,0);
  d=new Dimension(off.width,off.height);
  isRight=right;
}

ImgComp ( BufferedImage img , Rectangle off , boolean right ) { this . img = img ; at = AffineTransform . getTranslateInstance ( - off . x , 0 ) ; d = new Dimension ( off . width , off . height ) ; isRight = right ; }
create a clone with a specified backing image
