Image_Text::set (Previous) (Next) Image_Text::setColors

View this page in Last updated: Mon, 02 Jul 2007
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Image_Text::setColor()

Image_Text::setColor() -- Set a color

Opis

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:

  • "#ffff00" hexadecimal format (HTML style), with and without #.

  • "#08ffff00" hexadecimal format (HTML style) with alpha channel (08), with and without #.

  • array with 'r','g','b' and (optionally) 'a' keys, using int values.

Parametr

mixed $color

Color value.

mixed $id

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

Zwracana wartość

returns True on success, otherwise PEAR::Error.

Wyjątki

throws no exceptions thrown

Uwagi

Ta funkcja nie może być wywołana statycznie.

Image_Text::set (Previous) (Next) Image_Text::setColors

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.