RSS

Суббота, 02.11.2024, 21:21
Главная » WoW API » API Виджеты » Область »

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