styledRectangle
inline fun styledRectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null): Rectangle
Create a styled Rectangle.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun NodeContainer.styledRectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null): Rectangle
Add a styled Rectangle to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
inline fun styledRectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null, configuration: Rectangle.() -> Unit): Rectangle
Create a styled Rectangle with configuration block.
Return
the styled control created.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.
inline fun NodeContainer.styledRectangle(x: Double = 0.0, y: Double = 0.0, width: Double = 0.0, height: Double = 0.0, vararg styleClass: String, id: String? = null, configuration: Rectangle.() -> Unit): Rectangle
Add a styled Rectangle with configuration block to this container.
Return
the styled control added.
Parameters
styleClass
the CSS style class.
id
the CSS id.
configuration
the configuration block.