Widget/API/GetAnchorOffset

__NOTOC__
Returns the offset of an anchor.
xoffset, yoffset = MyFrame:GetAnchorOffset( [index] );
== Parameters ==
=== Arguments ===
:;index
::number - Index of anchor to get the offset of (this parameter is optional).
:::Index values starts at 0.
:::If the index parameter is not provided, it defaults to 0.
=== Returns ===
:;xoffset
::number - Horizontal offset of anchor.
:;yoffset
::number - Vertical offset of anchor.
== Example ==
x,y = frame:GetAnchorOffset();
== Notes ==
== Related Pages==
*Widget (Overview)
Category:Widget/API Category:Widget/Class/Layout