imagefill

(PHP 3, PHP 4, PHP 5)

imagefill -- 區功能變數填充

說明

bool imagefill ( resource image, int x, int y, int color )

imagefill()image 圖像的坐標 xy(圖像左上角為 0, 0)處用 color 彩色執行區功能變數填充(即與 x, y 點彩色相同且相鄰的點都會被填充)。