A composite bean that draws the intersection of the primitive shapes of its subgraphs.
The Intersect bean takes into account the transform and compose nodes of its subgraphs when calculating the union of the shapes, but ignores style nodes: the resulting area is drawn in the current style. The subgraphs of the Intersect bean, and thereby the calculated area, can be animated.
Note: the Intersect bean is used as a compose node within XML documents. However, to Java code, especially that traversing the scene-graph, it appears to be a primitive node that also supports the methods of the CompositeNode interface. When treated as a Primitive, the shape of the bean is the calculated area.
| XML Element | XML Type | Java Class |
| compose | intersect | uk.ac.ic.doc.scenebeans.Intersect |
| Name | Type | Default Value | Getter Method | Setter Method | Description |
| The Intersect bean has no properties. | |||||