GmagickPixel::setcolorvalue
(PECL gmagick >= Unknown)
GmagickPixel::setcolorvalue — Sets the normalized value of one of the channels
Описание
public GmagickPixel GmagickPixel::setcolorvalue
(
int $color
,
float $value
)
Список параметров
-
color
-
One of the Gmagick channel color constants.
-
value
-
The value to set this channel to, ranging from 0 to 1.
Возвращаемые значения
The GmagickPixel object on success.