Forum und email

ImagickPixel::__construct

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

ImagickPixel::__construct — The ImagickPixel constructor

Description

ImagickPixel ImagickPixel::__construct ([ string $color ] )
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.

Constructs an ImagickPixel object. If a color is specified, the object is constructed and then initialised with that color before being returned.

Liste de paramètres

color

The optional color string to use as the initial value of this object.

Valeurs de retour

Returns an ImagickPixel object on success, throwing ImagickPixelException on failure.