rectangle
inline fun NodeContainer.rectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0): Rectangle
Add a Rectangle to this container.
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 NodeContainer.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 container.
Return
the control added.
Parameters
configuration
the configuration block.