ImagickPixel::setColorValue
(No version information available, might be only in CVS)
ImagickPixel::setColorValue — Sets the normalized value of one of the channels
Leírás
Ez a függvény jelenleg nincs dokumentálva, csak a paraméterek listája található itt.
Ez a függvény KÍSÉRLETI JELLEGGEL MŰKÖDIK. A függvény működése, neve, bármi amit a függévénnyel kapcsolatban dokumentáltunk megváltozhat egy későbbi PHP kiadásban minden figyelmeztetés nélkül. Ezt a függvényt csak a saját felelősségedre használd!
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.
Paraméterek
- color
-
One of the Imagick channel color constants.
- value
-
The value to set this channel to, ranging from 0 to 1.
Visszatérési értékek
Returns TRUE on success.