CoverFlowParams

constructor(size: Float = 0.5f, offset: Float = 0.4f, distanceFactor: DistanceFactor = OffsetLinearDistanceFactor(), angle: Float = 55.0f, shift: Float = 0.4f, zoom: Float = 0.8f, mirror: Boolean = true)

Parameters

size

is multiplied with that edge to get the cover size in the middle.

offset

is multiplied with that edge to get the distance between two covers in the list.

distanceFactor

calculates how strong the transformations are applied to covers depending on their distance to the center.

angle

is the maximum rotation angle.

shift

is the horizontal shift of the items away from the center. Useful for giving the center element more space.

zoom

makes the side elements smaller.

mirror

acitvates the mirror effect.