x and y define the location of the rectangle. This is based on the top left corner of the container it is in to the top left corner of the shape you are drawing. As long as the width and height are...