imagefilledrectangle Draw a filled rectangle &reftitle.description; boolimagefilledrectangle resourceimage intx1 inty1 intx2 inty2 intcolor Creates a rectangle filled with color in the given image starting at point 1 and ending at point 2. 0, 0 is the top left corner of the image. &reftitle.parameters; &gd.image.description; x1 x-coordinate for point 1. y1 y-coordinate for point 1. x2 x-coordinate for point 2. y2 y-coordinate for point 2. color The fill color. &gd.identifier.color; &reftitle.returnvalues; &return.success; &reftitle.examples; <function>imagefilledrectangle</function> usage ]]> &example.outputs.similar; Output of example : imagefilledrectangle()