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

Descrizione

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

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

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.

Elenco dei parametri

color

One of the Imagick channel color constants.

value

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

Valori restituiti

Restituisce TRUE in caso di successo.