ImagickPixel::setColorValue
(No version information available, might be only in CVS)
ImagickPixel::setColorValue — Sets the normalized value of one of the channels
Popis
Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Sets the value of the specified channel of this object to the provided value, which should be between 0 and 1. This function can be used to provide an opacity channel to an ImagickPixel object.
Parametre
- color
-
One of the Imagick channel color constants.
- value
-
The value to set this channel to, ranging from 0 to 1.
Vrátené hodnoty
Returns TRUE on success.