top = sourceRectAtTime().top;
left = sourceRectAtTime().left;
x = left + (sourceRectAtTime().width / 2);
y = top + (sourceRectAtTime().height / 2);
[x,y]
Aligns other elements (like icons or graphics) to the exact center of a dynamically sized text box, keeping the layout balanced.