|
PHP5中文手册
HaruImage::setColorMask(PECL haru:0.0.1) HaruImage::setColorMask — Set the color mask of the image 说明
bool HaruImage::setColorMask
( int $rmin
, int $rmax
, int $gmin
, int $gmax
, int $bmin
, int $bmax
)
Defines the transparent color of the image using the RGB range values. The color within the range is displayed as a transparent color. The color space of the image must be RGB. 参数
返回值Returns TRUE on success. 错误/异常Throws HaruException on error. |