public class CompositeBackground
A background consisting of multiple other backgrounds. Note: callers should not inset this
background since it derives all of its insets from the contained backgrounds and relies on the
values during instantiation.
Nested Class Summary
Nested classes/interfaces inherited from class tripleplay.ui.Background
public CompositeBackground(Background... constituents)
Creates a new composite background with the given constituents. The first background
is the outermost, the 2nd one is inside that and so on. The insets of this background
are set to the sum of the insets of the constituents.
Reverses the usual depth of the constituent backgrounds' layers. Normally the outermost
background's layer is lowest (rendered first). Use this method to render the innermost
background's layer first instead.