Compound Visual
A compound visual containing stacked SingleLayerVisuals.
Hint: Each SingleLayerVisual besides the bottom should have opacity in order to display all layers properly.
Parameters
Children SingleLayerVisuals in the order they should be displayed, where the first SingleLayerVisual gets displayed at the bottom of the stack.
Constructors
CompoundVisual constructor with vararg parameter for initial children.
Creates a CompoundVisual with given children as List.
Functions
Adds a listener silently.
Adds a listener and calls Observer.update on this new listener.
Removes all listeners.
Copies this CompoundVisual to a new object recursively including children.
Notifies all listeners by calling Observer.update.
Removes a listener.
Properties
Property for backgroundRadius.
Property for borderRadius.
The children of this stack. The first SingleLayerVisual gets displayed at the bottom of the stack.
ObservableList for the children of this stack. The first SingleLayerVisual gets displayed at the bottom of the stack.