DoubleParameter

@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DoubleParameter(val label: String, val low: Double, val high: Double, val precision: Int = 3, val order: Int = Int.MAX_VALUE)(source)

DoubleParameter annotation for a double precision parameter

Properties

Link copied to clipboard

the highest value this parameter should be assigned

Link copied to clipboard

a short description of the parameter

Link copied to clipboard
val low: Double

the lowest value this parameter should be assigned

Link copied to clipboard
val order: Int

hint for where to place the parameter in user interfaces

Link copied to clipboard
val precision: Int = 3

a hint for precision in user interfaces