RSS

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

shadowR, shadowG, shadowB, shadowAlpha = SimpleHTML:GetShadowColor(["element"])

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


Signature:
Code
shadowR, shadowG, shadowB, shadowAlpha = SimpleHTML:GetShadowColor(["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:
  • shadowR - Red component of the shadow color (0.0 - 1.0) (number)
  • shadowG - Green component of the shadow color (0.0 - 1.0) (number)
  • shadowB - Blue component of the shadow color (0.0 - 1.0) (number)
  • shadowAlpha - Alpha (opacity) of the text's shadow (0.0 = fully transparent, 1.0 = fully opaque) (number)

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