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

Beskrivelse

float ImagickPixel::getColorValue ( int $color )
Warning

Denne funktion er på nuværende tidspunkt ikke dokumenteret; kun dens argumenter er til rådighed.

Warning

Denne funktion er EKSPERIMENTABEL. Virkemåden af denne funktion, navnet på funktionen, og andet ellers dokumenteret om denne funktion, ændres muligvis uden advarsel i en fremtidig version af PHP. Brug af denne funktion er på ejet ansvar.

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

Parameterliste

color

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

Returneringsværdier

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