Image_Text::setColor()

Image_Text::setColor() -- Set a color

Synopsis

require_once 'ImageText.php';

bool Image_Text::setColor (mixed $color [, mixed $id = 0])

Beschreibung

This method is used to set a color at a specific color ID inside the color cycle.

The following colors syntaxes are understood by this method:

Parameter

mixed $color

Color value.

mixed $id

ID (in the color array) to set color to.

Rückgabewert

returns True on success, otherwise PEAR::Error.

Fehler-Meldungen

throws no exceptions thrown

Siehe auch

see Image_Text::setColors(), Image_Text::set()

Hinweise

Diese Methode kann nicht statisch aufgerufen werden.