ImagickPixel::getColorValue
(No version information available, might be only in CVS)
ImagickPixel::getColorValue — Gets the normalized value of the provided color channel
Popis
float ImagickPixel::getColorValue
( int $color
)
Warning
Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Retrieves the value of the color channel specified, as a floating-point number between 0 and 1.
Parametre
- color
-
The channel to check, specified as one of the Imagick channel constants.
Vrátené hodnoty
The value of the channel, as a normalized floating-point number, throwing ImagickPixelException on error.