The ImagickPixel class
PHP 手册

ImagickPixel::__construct

(PECL imagick 2.0.0)

ImagickPixel::__constructThe ImagickPixel constructor

说明

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

本函数暂无文档,仅有参数列表。

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

参数

color

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

返回值

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


The ImagickPixel class
PHP 手册