(PHP 4, PHP 5)
imagerectangle — Draw a rectangle
imagerectangle() creates a rectangle starting at the specified coordinates.
An image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
Upper left x coordinate
Upper left y coordinate 0, 0 is the top left corner of the image.
Bottom right x coordinate
Bottom right y coordinate
A color identifier created with imagecolorallocate()
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.