RSS

Вторник, 05.11.2024, 14:40
Главная » WoW API » API Виджеты » Экземпляр шрифта »

FontString:SetShadowOffset(xOffset, yOffset)

[ править ]
Sets the offset of the font instance's text shadow from its text.
[клоны]
Sets the offset of the font instance's text shadow from its text.


Signature:
Code
FontInstance:SetShadowOffset(xOffset, yOffset)

Arguments:
  • xOffset - Horizontal distance between the text and its shadow (in pixels) (number)
  • yOffset - Vertical distance between the text and its shadow (in pixels) (number)

Examples:
-- Moves the text shadow in the default text font further than normal from the text
-- (5 pixels right and 5 pixels down instead of 1 pixel right and 1 pixel down)
ChatFontNormal:SetShadowOffset(5,-5)

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