MTDragPanOptions

@Serializable
data class MTDragPanOptions(val linearity: Double? = null, val maxSpeed: Double? = null, val deceleration: Double? = null)

Constructors

constructor(linearity: Double? = null, maxSpeed: Double? = null, deceleration: Double? = null)

Properties

val deceleration: Double? = null

The rate at which the speed reduces after the pan ends.

val linearity: Double? = null

Factor used to scale the drag velocity.

val maxSpeed: Double? = null

The maximum value of the drag velocity.