Forum und email

ImagickPixel::setColor

(No version information available, might be only in CVS)

ImagickPixel::setColor — Sets the color

Description

bool ImagickPixel::setColor ( string $color )
Warning

Deze functie is op het moment niet gedocumenteerd, alleen de lijst met argumenten is beschikbaar.

Warning

Deze functie is EXPERIMENTEEL. Dat betekent, dat het gedrag van deze functie, deze functienaam, in concreto ALLES dat hier gedocumenteerd is in een toekomstige uitgave van PHP ZONDER WAARSCHUWING kan veranderen. Wees gewaarschuwd, en gebruik deze functie op eigen risico.

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

Parameters

color

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

Return Values

Returns true if the specified color was set, false otherwise.