DistanceFactor

interface DistanceFactor

DistanceFactor returns how strong the three effects angle, horizontal translation, and zoom get applied to each element in the view.

Inheritors

Functions

Link copied to clipboard
abstract fun factor(relativeDistance: Float): Float

Factor should return negative values for all elements left of the center and positive for all elements right of the center.