RSS

Воскресенье, 22.12.2024, 07:22
Главная » WoW API » API Виджеты » Простой HTML »

SimpleHTML:SetTextColor(["element",] textR, textG, textB, textAlpha)

[ править ]
Sets the color of text in the frame.
[клоны]
Sets the color of text in the frame.


Signature:
Code
SimpleHTML:SetTextColor(["element",] textR, textG, textB, textAlpha)

Arguments:
  • element - Name of an HTML element for which to set font properties (e.g. p, h1); if omitted, sets properties for the frame's default font (string)
  • 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)

Также смотрите: Простой HTML
Ссылки: http://wowprogramming.com/docs/widgets/SimpleHTML/SetTextColor