update : 2015.11.03
php.shukuma.com

검색:
 
 
Sets the color

GmagickPixel::setcolor

(PECL gmagick >= Unknown)

GmagickPixel::setcolorSets the color

설명

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

인수

color

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

반환값

The GmagickPixel object on success.