line
inline fun NodeContainer.line(centerX: Double = 0.0, centerY: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0): Line
Add a Line to this container.
Return
the control added.
inline fun line(centerX: Double = 0.0, centerY: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0, configuration: Line.() -> Unit): Line
Create a Line with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun NodeContainer.line(centerX: Double = 0.0, centerY: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0, configuration: Line.() -> Unit): Line
Add a Line with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.