Sets the x, y, width and height on this.
x
y
width
height
a Rectangle
upper left x coordinate
upper left y coordinate
width in pixels.
height in pixels.