RSS

Пятница, 29.03.2024, 08:54
Главная » WoW API » API Виджеты » Простой HTML »

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

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


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

Arguments:
  • element - Name of an HTML element for which to return font information (e.g. p, h1); if omitted, returns information about the frame's default font (string)

Returns:
  • 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/GetTextColor