Source set: Android
public data class FractionalThreshold(
@FloatRange(from = 0.0, to = 1.0) private val fraction: Float
) : ThresholdConfig
A fractional threshold will be at a fraction of the way between the two anchors.
Parameters
| fraction | The fraction (between 0 and 1) that the threshold will be at. |
Functions
computeThreshold
Source set: Android
override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float