Instance Method

calculateAccumulatedFrame

Returns a rectangle in the parent’s coordinate system that contains the position and size of itself and all child nodes.

Declaration

- (CGRect)calculateAccumulatedFrame;

Discussion

The frame takes into the account the cumulative effect of the xScale, yScale, and zRotation properties of each node in the subtree.

See Also

Querying the Content Size

frame

A rectangle in the parent’s coordinate system that contains the node’s content, ignoring the node’s children.