Forum und email

ImagickPixel::getHSL

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

ImagickPixel::getHSL — Returns the normalized HSL color of the ImagickPixel object

Description

array ImagickPixel::getHSL ( void )
Warning

Cette fonction n'est pas documentée et seule la liste des arguments est disponible.

Warning

Cette fonction est EXPERIMENTALE. Cela signifie que le comportement de cette fonction, son nom et, concrètement, TOUT ce qui est documenté ici peut changer dans un futur proche, SANS PREAVIS ! Soyez-en conscient, et utilisez cette fonction à vos risques et périls.

Returns the normalized HSL color described by the ImagickPixel object, with each of the three values as floating point numbers between 0.0 and 1.0.

Liste de paramètres

Valeurs de retour

Returns the HSL value in an array with the keys "hue", "saturation", and "luminosity". Throws ImagickPixelException on failure.