public Rectangle(Double x,Double y,Double width,Double height){
  this((int)Math.round(x),(int)Math.round(y),(int)Math.round(width),(int)Math.round(height));
}

public Rectangle ( Double x , Double y , Double width , Double height ) { this ( ( int ) Math . round ( x ) , ( int ) Math . round ( y ) , ( int ) Math . round ( width ) , ( int ) Math . round ( height ) ) ; }
todo as with dimensiondouble and pointdouble , rectangle should also contain only double values in future !
