SnapParameters

class SnapParameters(val snapOffset: Int, val thresholdDivider: Float, val resistanceFactor: Float)

Parameters used for snapping

Parameters

snapOffset

an optional offset to be applied when snapping the item. After the snap the snapped items offset will be snapOffset.

Constructors

Link copied to clipboard
constructor(snapOffset: Int, thresholdDivider: Float, resistanceFactor: Float)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Returns a snapping offset in Dp