- PHP 手册
- 函数参考
- 图像生成和处理
- Gmagick
- GmagickPixel
GmagickPixel::__construct
(PECL gmagick >= Unknown)
GmagickPixel::__construct — The GmagickPixel constructor
说明
public GmagickPixel::__construct(string$color
= ?)
Constructs an GmagickPixel 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.
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/gmagickpixel.construct.php