code: public Rectangle rectangle(float top, float bottom) {
  		Rectangle tmp = new Rectangle(this);
  		if (getTop() > top) {
  			tmp.setTop(top);
  			tmp.disableBorderSide(TOP);
  		}
  		if (getBottom() < bottom) {
  			tmp.setBottom(bottom);
  			tmp.disableBorderSide(BOTTOM);
  		}
  		return tmp;
  	}
docs: Gets a Rectangle that is altered to fit on the page.
  
  @param top		the top position
  @param bottom	the bottom position
  @return a <CODE>Rectangle</CODE>