cubicCurve
inline fun NodeContainer.cubicCurve(startX: Double = 0.0, startY: Double = 0.0, controlX1: Double = 0.0, controlY1: Double = 0.0, controlX2: Double = 0.0, controlY2: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0): CubicCurve
Add a CubicCurve to this container.
Return
the control added.
inline fun cubicCurve(startX: Double = 0.0, startY: Double = 0.0, controlX1: Double = 0.0, controlY1: Double = 0.0, controlX2: Double = 0.0, controlY2: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0, configuration: CubicCurve.() -> Unit): CubicCurve
Create a CubicCurve with configuration block.
Return
the control created.
Parameters
configuration
the configuration block.
inline fun NodeContainer.cubicCurve(startX: Double = 0.0, startY: Double = 0.0, controlX1: Double = 0.0, controlY1: Double = 0.0, controlX2: Double = 0.0, controlY2: Double = 0.0, endX: Double = 0.0, endY: Double = 0.0, configuration: CubicCurve.() -> Unit): CubicCurve
Add a CubicCurve with configuration block to this container.
Return
the control added.
Parameters
configuration
the configuration block.