Constructor HierarchicalBox
HierarchicalBox(Color, Color[], HierarchicalBox)
Constructor. Used to setup colors and also the container if any.
Declaration
public HierarchicalBox(Color baseColor, Color[] polychromeHandleColors = null, HierarchicalBox parent = null)
Parameters
Type | Name | Description |
---|---|---|
Color | baseColor | The color of each face of the box. Other colors are deduced from it. |
Color[] | polychromeHandleColors | The color of handle when they are separated. When they are grouped, they use a variation of the faceColor instead. |
HierarchicalBox | parent | The HierarchicalBox containing this box. If null, the box will not be limited in size. |