GraphicsGroup

GraphicsGroup[{g1,g2,}]

represents a collection of graphics objects grouped together for purposes of interactive selection in a notebook.

Details and Options

  • GraphicsGroup works with both two- and three-dimensional graphics.
  • A graphics group can typically be created by applying the Group item in the Graphics menu to a collection of selected graphics.
  • With the default setting ContentSelectable->Automatic, doubleclicking allows you to select an individual graphics object gi within the group.
  • With ContentSelectable->False, individual objects within the group cannot separately be selected, unless they are first explicitly ungrouped.
  • With ContentSelectable->True, objects within the group can be selected immediately with a single click.
  • GraphicsGroup always defines a level in the hierarchy of a graphics expression, so that for example goes to the next enclosing GraphicsGroup. »

Examples

open allclose all

Basic Examples  (1)

A group of primitives to be selected together:

Scope  (2)

Combine multiple primitives in groups:

Define the hierarchy within graphics:

Options  (3)

ContentSelectable  (3)

No individual object is selectable; the graphics group appears as one object:

Allow the individual objects in the graphics group to be selectable by a single click:

The first click selects the whole group, and subsequent clicks select individual objects:

Introduced in 2007
 (6.0)