RSS

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

left, bottom, width, height = Texture: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