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

View this page in Last updated: Sun, 31 Aug 2008
English | French | German | Hungarian | Japanese | Polish | Spanish | Plain HTML

Image_Text::setColor()

Image_Text::setColor() -- 色を設定する

説明

このメソッドは色環内の特定の色 ID を設定するために使用します。

以下の色書式はこのメソッドで認識されます:

  • "#ffff00" # 付きもしくは # なしの 16 進数フォーマット (HTML スタイル)

  • "#08ffff00" # 付きもしくは # なしでアルファチャネル (08) 付き 16 進数フォーマット (HTML スタイル)

  • 整数値での 'r','g','b'、 (オプションとして) 'a' を含む配列

パラメータ

mixed $color

色の値を指定します

mixed $id

色を設定するための (色環における) ID を指定します

返り値

returns 成功時に True、そうでなければ PEAR::Error

例外・エラー

throws 投げられる例外はありません

参照

Image_Text::setColors(), Image_Text::set()参照ください

注意

この関数は、スタティックにコールする ことはできません。

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

Download Documentation Last updated: Sun, 31 Aug 2008
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.