ImagickPixel::__construct()
ImagickPixel::__construct - The ImagickPixel constructor
Syntax
ImagickPixel ImagickPixel::__construct (
string $color)
Arguments
- color - The optional color string to use as the initial value of this object.
Description
Constructs an ImagickPixel object. If a color is specified, the object is constructed and then initialised with that color before being returned.
Version
PHP PECL imagick 2.0.0
Return value
Returns an ImagickPixel object on success, throwing ImagickPixelException on failure.