RSS

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

left, bottom, width, height = MessageFrame:GetRect()

[ править ]
Returns the position and dimensions of the region.
[клоны]
Returns the position and dimensions of the region.


Signature:
Code
left, bottom, width, height = Region:GetRect()

Returns:
  • left - Distance from the left edge of the screen to the left edge of the region (in pixels) (number)
  • bottom - Distance from the bottom edge of the screen to the bottom of the region (in pixels) (number)
  • width - Width of the region (in pixels) (number)
  • height - Height of the region (in pixels) (number)

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