public Rectangle getTransformedRectangle(Rectangle r) {
    return new Rectangle(r.x + myMoveDelta.x, r.y + myMoveDelta.y, r.width + mySizeDelta.width, r.height + mySizeDelta.height);
  }
public Rectangle getTransformedRectangle(Rectangle r)