code: public void softCloneNonPositionParameters(Rectangle rect) {
  		if (rect.rotation != 0)
  			this.rotation = rect.rotation;
  		if (rect.backgroundColor != null)
  			this.backgroundColor = rect.backgroundColor;
  		if (rect.border != UNDEFINED)
  			this.border = rect.border;
  		if (useVariableBorders)
  			this.useVariableBorders = rect.useVariableBorders;
  		if (rect.borderWidth != UNDEFINED)
  			this.borderWidth = rect.borderWidth;
  		if (rect.borderWidthLeft != UNDEFINED)
  			this.borderWidthLeft = rect.borderWidthLeft;
  		if (rect.borderWidthRight != UNDEFINED)
  			this.borderWidthRight = rect.borderWidthRight;
  		if (rect.borderWidthTop != UNDEFINED)
  			this.borderWidthTop = rect.borderWidthTop;
  		if (rect.borderWidthBottom != UNDEFINED)
  			this.borderWidthBottom = rect.borderWidthBottom;
  		if (rect.borderColor != null)
  			this.borderColor = rect.borderColor;
  		if (rect.borderColorLeft != null)
  			this.borderColorLeft = rect.borderColorLeft;
  		if (rect.borderColorRight != null)
  			this.borderColorRight = rect.borderColorRight;
  		if (rect.borderColorTop != null)
  			this.borderColorTop = rect.borderColorTop;
  		if (rect.borderColorBottom != null)
  			this.borderColorBottom = rect.borderColorBottom;
  	}
docs: Copies each of the parameters, except the position, from a
  <CODE>Rectangle</CODE> object if the value is set there
  
  @param rect <CODE>Rectangle</CODE> to copy from