RSS

Четверг, 26.12.2024, 19:01
Главная » WoW API » API Виджеты » Экземпляр шрифта »

ScrollingMessageFrame:SetTextColor(textR, textG, textB, textAlpha)

[ править ]
Sets the font instance's default text color.
[клоны]
Sets the font instance's default text color. This color is used for otherwise unformatted text displayed using the font instance; however, portions of the text may be colored differently using the colorString format (commonly seen in hyperlinks).


Signature:
Code
FontInstance:SetTextColor(textR, textG, textB, textAlpha)

Arguments:
  • textR - Red component of the text color (0.0 - 1.0) (number)
  • textG - Green component of the text color (0.0 - 1.0) (number)
  • textB - Blue component of the text color (0.0 - 1.0) (number)
  • textAlpha - Alpha (opacity) of the text (0.0 = fully transparent, 1.0 = fully opaque) (number)

Также смотрите: Экземпляр шрифта
Ссылки: http://wowprogramming.com/docs/widgets/FontInstance/SetTextColor