CompoundVisual

fun CompoundVisual(vararg children: SingleLayerVisual)

CompoundVisual constructor with vararg parameter for initial children.

Parameters

children

Children SingleLayerVisuals in the order they should be displayed, where the first SingleLayerVisual gets displayed at the bottom of the stack.


fun CompoundVisual(children: List<SingleLayerVisual>)

Creates a CompoundVisual with given children as List.

Parameters

children

Children SingleLayerVisuals in the order they should be displayed, where the first SingleLayerVisual gets displayed at the bottom of the stack.