ImagickPixel::setColorValue
(No version information available, might be only in CVS)
ImagickPixel::setColorValue — Sets the normalized value of one of the channels
Beskrivelse
Denne funktion er på nuværende tidspunkt ikke dokumenteret; kun dens argumenter er til rådighed.
Denne funktion er EKSPERIMENTABEL. Virkemåden af denne funktion, navnet på funktionen, og andet ellers dokumenteret om denne funktion, ændres muligvis uden advarsel i en fremtidig version af PHP. Brug af denne funktion er på ejet ansvar.
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.
Parameterliste
- color
-
One of the Imagick channel color constants.
- value
-
The value to set this channel to, ranging from 0 to 1.
Returneringsværdier
Returns TRUE on success.