box
inline fun NodeContainer.box(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE): Box
Add a Box to this container.
Return
the control added.
inline fun box(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, configuration: Box.() -> Unit): Box
Create a Box with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun NodeContainer.box(width: Double = DEFAULT_SIZE, height: Double = DEFAULT_SIZE, depth: Double = DEFAULT_SIZE, configuration: Box.() -> Unit): Box
Add a Box with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.