Forum und email

ImagickPixel::__construct

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

ImagickPixel::__construct — The ImagickPixel constructor

Descrizione

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

Questa funzione, al momento non è documentata; è disponibile soltanto la lista degli argomenti.

Avviso

Questa funzione è SPERIMENTALE. Ovvero, il comportamento di questa funzione, il nome di questa funzione, in definitiva tutto ciò che è documentato qui può cambiare nei futuri rilasci del PHP senza preavviso. Siete avvisati, l'uso di questa funzione è a vostro rischio.

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

Elenco dei parametri

color

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

Valori restituiti

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