Imagick Image Library
PHP Manual

Imagick::colorFloodfillImage

(No version information available, might be only in CVS)

Imagick::colorFloodfillImage — Changes the color value of any pixel that matches target

说明

bool Imagick::colorFloodfillImage ( ImagickPixel $fill , float $fuzz , ImagickPixel $bordercolor , int $x , int $y )
Warning

本函数暂无文档,仅有参数列表。

Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

Changes the color value of any pixel that matches target and is an immediate neighbor.

参数

fill

ImagickPixel object containing the fill color

fuzz

The amount of fuzz. For example, set fuzz to 10 and the color red at intensities of 100 and 102 respectively are now interpreted as the same color for the purposes of the floodfill.

bordercolor

ImagickPixel object containing the border color

x

X start position of the floodfill

y

Y start position of the floodfill

返回值

Returns TRUE on success.


Imagick Image Library
PHP Manual