imagefill
imagefill
(PHP 4, PHP 5, PHP 7)
imagefill — Flood fill
Description
bool imagefill ( resource $image , int $x , int $y , int $color )
Performs a flood fill starting at the given coordinate (top left is 0, 0) with the given color
in the image
.
Parameters
-
image
-
An image resource, returned by one of the image creation functions, such as 登录查看完整内容