Forum und email

ImagickPixel::setColorValue

(No version information available, might be only in CVS)

ImagickPixel::setColorValue — Sets the normalized value of one of the channels

Beschreibung

bool ImagickPixel::setColorValue ( int $color , float $value )
Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Argumente zur Verfügung.

Warnung

Diese Funktion ist EXPERIMENTELL. Das Verhalten, der Funktionsname und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Funktion auf eigenes Risiko.

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.

Parameter Liste

color

One of the Imagick channel color constants.

value

The value to set this channel to, ranging from 0 to 1.

Rückgabewerte

Returns TRUE on success.