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.
Var t As TextShape
Var d As New Group2D
px = New PixmapShape(DSC_0343) // added to the project
t = New TextShape
t.Value = "This is what I call a REAL car!"
t.IsBold = True
g.DrawObject(d, 100, 100)