Boxed groups, as the name implies are simply a group that in addition to maintaining a group, also maintains a rectangle that implicitly resizes whenever children are added to or removed from the group.
The following contains an example that adds several shapes to a boxed group, then rotates the entire group by 45 degrees counter-clockwise.
Boxed group and shapes drawn by example code below