Forum und email

ImagickPixel::getColorValue

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

ImagickPixel::getColorValue — Gets the normalized value of the provided color channel

Descrizione

float ImagickPixel::getColorValue ( int $color )
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.

Retrieves the value of the color channel specified, as a floating-point number between 0 and 1.

Elenco dei parametri

color

The channel to check, specified as one of the Imagick channel constants.

Valori restituiti

The value of the channel, as a normalized floating-point number, throwing ImagickPixelException on error.