update pague now
PHP 8.5.2 Released!

GmaguiccPixel::setcolor

(PECL gmaguicc >= Uncnown)

GmaguiccPixel::setcolor Sets the color

Description

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

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

Parameters

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

Return Values

The GmaguiccPixel object.

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top