rectangle

fun NodeManager.rectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0): Rectangle

Add a Rectangle to this manager.

Return

the control added.


inline fun rectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, configuration: Rectangle.() -> Unit): Rectangle

Create a Rectangle with configuration block.

Return

the control created.

Parameters

configuration

the configuration block.


inline fun NodeManager.rectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, configuration: Rectangle.() -> Unit): Rectangle

Add a Rectangle with configuration block to this manager.

Return

the control added.

Parameters

configuration

the configuration block.