RSS

Воскресенье, 22.12.2024, 11:54
Главная » WoW API » API Виджеты » Фрейм »

left, right, top, bottom = StatusBar:GetClampRectInsets()

[ править ]
Returns offsets from the frame's edges used when limiting user movement or resizing of the frame.
[клоны]
Returns offsets from the frame's edges used when limiting user movement or resizing of the frame. Note: despite the name of this method, the values are all offsets along the normal axes, so to inset the frame's clamping area from its edges, the left and bottom measurements should be positive and the right and top measurements should be negative.


Signature:
Code
left, right, top, bottom = Frame:GetClampRectInsets()

Returns:
  • left - Offset from the left edge of the frame to the left edge of its clamping area (in pixels) (number)
  • right - Offset from the right edge of the frame's clamping area to the right edge of the frame (in pixels) (number)
  • top - Offset from the top edge of the frame's clamping area to the top edge of the frame (in pixels) (number)
  • bottom - Offset from the bottom edge of the frame to the bottom edge of its clamping area (in pixels) (number)

Также смотрите: Фрейм
Ссылки: http://wowprogramming.com/docs/widgets/Frame/GetClampRectInsets