imagerectangle
Opis
bool imagerectangle ( resource image, int x1, int y1, int x2, int y2, int color )imagerectangle() creates a rectangle starting at the specified coordinates.
Parametry
obrazZasób obrazu, zwrócony przez jedną z funkcji tworzących obrazy, taką jak 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()