TransformAnimationOptions

data class TransformAnimationOptions(val durationMs: Int? = null, val easing: String = "cubic-bezier(0.4, 0.0, 0.2, 1)")

Options controlling how to animate the ReaderView when applying a new active transform using the IReaderViewTransformManager.

Constructors

Link copied to clipboard
fun TransformAnimationOptions(durationMs: Int? = null, easing: String = "cubic-bezier(0.4, 0.0, 0.2, 1)")

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val durationMs: Int? = null

The duration of the animation in milliseconds.

Link copied to clipboard

The easing function to apply to the animation. The easing function must be a cubic-bezier function on the form "cubic-bezier(x1, y1, x2, y2)"