ImagickPixel
PHP Manual

ImagickPixel::__construct

(PECL imagick 2.0.0)

ImagickPixel::__constructThe ImagickPixel constructor

Opis

ImagickPixel::__construct ([ string $color ] )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

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

Parametry

color

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

Zwracane wartości

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


ImagickPixel
PHP Manual