RSS

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

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