RSS

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

xOffset, yOffset = SimpleHTML:GetShadowOffset(["element"])

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


Signature:
Code
xOffset, yOffset = SimpleHTML:GetShadowOffset(["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:
  • xOffset - Horizontal distance between the text and its shadow (in pixels) (number)
  • yOffset - Vertical distance between the text and its shadow (in pixels) (number)

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