imagerectangle() creates a rectangle starting at the specified coordinates.
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
x1Upper left x coordinate
y1Upper left y coordinate 0, 0 is the top left corner of the image.
x2Bottom right x coordinate
y2Bottom right y coordinate
colorA color identifier created with imagecolorallocate()