Forum und email

ImagickPixel::__construct

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

ImagickPixel::__construct — The ImagickPixel constructor

Descrierea

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

Această funcţie nu este documentată în prezent; este disponibilă numai lista de argumente.

Avertizare

Această funcţie este EXPERIMENTALĂ. Comportamentul acestei funcţii, denumirea sa şi orice alte aspecte documentate în privinţa acestei funcţii pot să fie modificate fără preaviz într-o versiune viitoare a PHP. Utilizaţi această funcţie la propriul risc.

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

Parametri

color

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

Valorile întroarse

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