Companion

object Companion

Properties

Link copied to clipboard

Duration of scale, translate or rotation animations expressed in milliseconds.

Link copied to clipboard
const val DEFAULT_MAX_SCALE: Float = 10.0f

Maximum scale factor to be used by default when displaying the image.

Link copied to clipboard

Margin on maximum scale so that a bounce effect happens when maximum image scale reaches the limit.

Link copied to clipboard
const val DEFAULT_MIN_SCALE: Float = 1.0f

Minimum scale factor to be used by default when displaying the image.

Link copied to clipboard

Margin on minimum scale so that a bounce effect happens when minimum image scale reaches the limit.

Link copied to clipboard

Scale jump to make when doing a double tap.

Link copied to clipboard
const val DEFAULT_SCROLL_MARGIN: Float = 100.0f

Default margin on allowed scroll expressed in pixels. This value determines the amount of bounce when a scroll limit is reached.