PHP 8.4.0 RC3 available for testing

GmagickPixel::setcolor

(PECL gmagick >= Unknown)

GmagickPixel::setcolorSets the color

说明

public GmagickPixel::setcolor(string $color): GmagickPixel

Sets the color described by the GmagickPixel object, with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).

参数

color

The color definition to use in order to initialise the GmagickPixel object.

返回值

The GmagickPixel object.

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top