Composite - Structural Pattern

Intent  Motivation Structure

  

Clients use the Component class interface to interact with objects in the composite structure. If the recipient is a Leaf, then the request is handled directly. If the recipient is a Composite, then it usually forwards requests to its child components.

Example

  Implementation

 Use in Graphics Related Problems