🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

FixedThreshold

A fixed threshold will be at an offset away from the first anchor.

Source set: Android
public data class FixedThreshold(private val offset: Dp) : ThresholdConfig

A fixed threshold will be at an offset away from the first anchor.

Parameters

offset The offset (in dp) that the threshold will be at.

Functions

computeThreshold

Source set: Android
override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float