RSS

Воскресенье, 22.12.2024, 06:12
Главная » WoW API » API Виджеты » Размер »

Scale:SetOrigin("point", xOffset, yOffset)

[ править ]
Sets the scale animation's origin point.
[клоны]
Sets the scale animation's origin point. During a scale animation, the origin point remains in place while the positions of all other points in the scaled region are moved according to the scale factor.


Signature:
Code
Scale:SetOrigin("point", xOffset, yOffset)

Arguments:
  • point - Anchor point for the scale origin (string, anchorPoint)
  • xOffset - Horizontal distance from the anchor point to the scale origin (in pixels) (number)
  • yOffset - Vertical distance from the anchor point to the scale origin (in pixels) (number)

Также смотрите: Размер
Ссылки: http://wowprogramming.com/docs/widgets/Scale/SetOrigin