Companion

object Companion

Properties

Link copied to clipboard
val HALF: Ratio
Link copied to clipboard
val NaN: Ratio
Link copied to clipboard
val ONE: Ratio
Link copied to clipboard
Link copied to clipboard
val ZERO: Ratio

Functions

Link copied to clipboard
inline fun forEachRatio(steps: Int, include0: Boolean = true, include1: Boolean = true, block: (ratio: Ratio) -> Unit)
Link copied to clipboard
inline fun fromValueInRange(value: Number, min: Number, max: Number): Ratio
Link copied to clipboard
inline fun fromValueInRangeClamped(value: Number, min: Number, max: Number): Ratio