Package-level declarations

Types

Link copied to clipboard
fun interface Easing
Link copied to clipboard
class EasingCubic(val x1: Float, val y1: Float, val x2: Float, val y2: Float, val name: String? = null) : Easing
Link copied to clipboard
interface Interpolable<T>
Link copied to clipboard
Link copied to clipboard
inline class Ratio(val value: Double) : Comparable<Ratio>

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun abs(a: Ratio): Ratio
Link copied to clipboard
fun Ratio.clamp(min: Ratio, max: Ratio): Ratio
Link copied to clipboard
fun Ratio.convertRange(srcMin: Ratio, srcMax: Ratio, dstMin: Ratio, dstMax: Ratio): Ratio
Link copied to clipboard
inline operator fun Ratio.div(value: Double): Double
inline operator fun Ratio.div(value: Float): Float
inline operator fun Double.div(ratio: Ratio): Double
inline operator fun Float.div(ratio: Ratio): Float
inline operator fun Int.div(ratio: Ratio): Double
Link copied to clipboard
fun Ratio.isAlmostEquals(that: Ratio, epsilon: Ratio = Ratio(0.000001)): Boolean
Link copied to clipboard
fun Ratio.isAlmostZero(epsilon: Ratio = Ratio(0.000001)): Boolean
Link copied to clipboard
fun max(a: Ratio, b: Ratio): Ratio
Link copied to clipboard
fun min(a: Ratio, b: Ratio): Ratio
Link copied to clipboard
fun Ratio.niceStr(decimalPlaces: Int, zeroSuffix: Boolean = false): String
Link copied to clipboard
inline operator fun Ratio.times(value: Ratio): Ratio
inline operator fun Ratio.times(value: Double): Double
inline operator fun Ratio.times(value: Float): Float
inline operator fun Double.times(ratio: Ratio): Double
inline operator fun Float.times(ratio: Ratio): Float
inline operator fun Int.times(ratio: Ratio): Double
Link copied to clipboard
Link copied to clipboard