Forum und email

ImagickPixel::__construct

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

ImagickPixel::__construct — The ImagickPixel constructor

Descripción

ImagickPixel ImagickPixel::__construct ([ string $color ] )
Warning

Esta función no está documentada actualmente, solamente se encuentra disponible la lista de parámetros.

Warning

Esta función es EXPERIMENTAL. Esto significa que el comportamiento de esta función, el nombre de esta función y en definitiva TODO lo documentado sobre esta función, puede cambiar en una futura version de PHP SIN AVISO. La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabilidad.

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

Lista de parámetros

color

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

Valores retornados

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