RSS

Вторник, 05.11.2024, 10:54
Главная » WoW API » API Виджеты » Область »

x, y = GameTooltip:GetCenter()

[ править ]
Returns the screen coordinates of the region's center.
[клоны]
Returns the screen coordinates of the region's center.


Signature:
Code
x, y = Region:GetCenter()

Returns:
  • x - Distance from the left edge of the screen to the center of the region (in pixels) (number)
  • y - Distance from the bottom edge of the screen to the center of the region (in pixels) (number)

Также смотрите: Область
Ссылки: http://wowprogramming.com/docs/widgets/Region/GetCenter