imagefill

(PHP 3, PHP 4 )

imagefill -- Flood fill

Description

int imagefill ( resource image, int x, int y, int col)

imagefill() performs a flood fill starting at coordinate x, y (top left is 0, 0) with color col in the image image.