RSS

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

x, y = Texture: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