imagefilledrectangle Draw a filled rectangle Description intimagefilledrectangle resourceimage intx1 inty1 intx2 inty2 intcol imagefilledrectangle creates a filled rectangle of color col in image image starting at upper left coordinates x1, y1 and ending at bottom right coordinates x2, y2. 0, 0 is the top left corner of the image.