From Xojo Documentation
Used to group Object2D objects.
A Group2D is a container for Object2D shapes (including other Group2Ds). When a Group2D is rotated, translated, or scaled, all of its contents are updated accordingly. This means that all objects use the same coordinate system, but you can quickly transform an entire set of objects by simply transforming their group.
Dim s As StringShape
Dim d As New Group2D
px = New PixmapShape(DSC_0343) // added to the project
s = New StringShape
s.Text = "This is what I call a REAL car!"
s.Bold = True
g.DrawObject(d, 100, 100)