FixedThreshold

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.

Constructors

Link copied to clipboard
constructor(offset: Dp)

Functions

Link copied to clipboard
open override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float

Compute the value of the threshold (in pixels), once the values of the anchors are known.