imagefilledrectangle Draw a filled rectangle Description intimagefilledrectangle resourceimage intx1 inty1 intx2 inty2 intcolor imagefilledrectangle creates a filled rectangle of color color 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.