Contents

interpolated(towards:amount:)

Creates a new threshold that combines this threshold value with another threshold, interpolated by the given amount.

Declaration

func interpolated(towards other: ScrollTransitionConfiguration.Threshold, amount: Double) -> ScrollTransitionConfiguration.Threshold

Parameters

  • other:

    The second threshold value.

  • amount:

    The ratio with which this threshold is combined with the given threshold, where zero is equal to this threshold, 1.0 is equal to other, and values in between combine the two thresholds.

See Also

Modifying the threshold