Ranged Double Property
fun RangedDoubleProperty(name: String, initialValue: Double = 0.0, lowerBound: Double = -Double.MAX_VALUE, upperBound: Double = Double.MAX_VALUE)
Content copied to clipboard
Based on constructor of DoubleProperty, adds the specified bounds.
Parameters
name
the name of this property
initial Value
the initial value of the wrapped value, defaults to 0.0
lower Bound
the lower bound for the wrapped value to be considered acceptable, defaults to -Double.MAX_VALUE
upper Bound
the upper bound for the wrapped value to be considered acceptable, defaults to Double.MAX_VALUE