GoLang GmagickPixel::setcolor

request it (289)
GoLang replacement for PHP's GmagickPixel::setcolor [edit | history]



Do you know a GoLang replacement for PHP's GmagickPixel::setcolor? Write it!

PHP GmagickPixel::setcolor

PHP original manual for GmagickPixel::setcolor [ show | php.net ]

GmagickPixel::setcolor

(PECL gmagick >= Unknown)

GmagickPixel::setcolorSets the color

Description

public GmagickPixel GmagickPixel::setcolor ( string $color )

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.).

Parameters

color

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

Return Values

The GmagickPixel object on success.