bool TTF_SetTextColorFloat(TTF_Text *text, float r, float g, float b, float a);
| TTF_Text * | text | 設定するTTF_Text |
| float * | r | 0~1の赤要素 |
| float * | g | 0~1の緑要素 |
| float * | b | 0~1の青要素 |
| float * | a | 0~1のα要素 |
テキストの色のデフォルトは白(1.0f, 1.0f, 1.0f, 1.0f)である.
この関数はテキストを生成したスレッドから呼ぶ必要がある.