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

Descrierea

float ImagickPixel::getColorValue ( int $color )
Avertizare

Această funcţie nu este documentată în prezent; este disponibilă numai lista de argumente.

Avertizare

Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.

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

Parametri

color

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

Valorile întroarse

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