PHP Manual
Prev |  | Next

# ImageFilledRectangle

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

ImageFilledRectangle -- Draw a filled rectangle

## Description

``int imagefilledrectangle` (int im, int x1, int y1, int x2, int y2, int col)`

ImageFilledRectangle() creates a filled rectangle of color `col` in image `im` 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.

Prev | Home | Next
ImageFilledPolygon | Up | ImageFillToBorder