126

Sharing Groups of Shapes
SharedGroup Node

  • A SharedGroup extends Group
  • It contains shapes, like other groups
  • It is never added into the scene graph directly
  • It is referenced by one or more Link nodes
  • Changes to a SharedGroup affect all references to it

  • Can be compiled by calling its compile( ) method prior to referencing it from a Link node