(PHP 4, PHP 5)
imagerectangle — Draw a rectangle
imagerectangle() creates a rectangle starting at the specified coordinates.
Zasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak 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()
Zwraca TRUE w przypadku powodzenia, FALSE w przypadku błędu.