ImagickPixel::setColor
(No version information available, might be only in CVS)
ImagickPixel::setColor — Sets the color
Popis
bool ImagickPixel::setColor
( string $color
)
Warning
Táto funkcia nie je momentálne zdokumentovaná; je dostupný len zoznam argumentov.
Warning
Táto funkcia je EXPERIMENTÁLNA. Správanie tejto funkcie, názov tejto funkcie a hocičo iné zdokumentované o tejto funkcii sa môže zmeniť bez povšimnutia v budúcom vydaní PHP. Používajte túto funkcii na svoje vlastné riziko.
Sets the color described by the ImagickPixel object, with a string (e.g. "blue", "#0000ff", "rgb(0,0,255)", "cmyk(100,100,100,10)", etc.).
Parametre
- color
-
The color definition to use in order to initialise the ImagickPixel object.
Vrátené hodnoty
Returns true if the specified color was set, false otherwise.