imagerectangle Draw a rectangle &reftitle.description; boolimagerectangle GdImageimage intx1 inty1 intx2 inty2 intcolor imagerectangle creates a rectangle starting at the specified coordinates. &reftitle.parameters; &gd.image.description; x1 Upper left x coordinate. y1 Upper left y coordinate 0, 0 is the top left corner of the image. x2 Bottom right x coordinate. y2 Bottom right y coordinate. color &gd.identifier.color; &reftitle.returnvalues; &return.success; &reftitle.changelog; &Version; &Description; &gd.changelog.image-param; &reftitle.examples; Simple <function>imagerectangle</function> example ]]> &example.outputs.similar; Output of example : Simple imagerectangle() example