GifGestureStep

data class GifGestureStep(val type: GifGestureType = GifGestureType.PAUSE, val frames: Int = 0, val xFraction: Float = 0.5f, val yFraction: Float = 0.5f, val framesAfter: Int = 0, val points: List<GifFractionPoint> = emptyList(), val holdStartFrames: Int = 0, val framesPerWaypoint: Int = 0, val releaseFrames: Int = 0)

A low-level gesture replay step.

Constructors

Link copied to clipboard
constructor(type: GifGestureType = GifGestureType.PAUSE, frames: Int = 0, xFraction: Float = 0.5f, yFraction: Float = 0.5f, framesAfter: Int = 0, points: List<GifFractionPoint> = emptyList(), holdStartFrames: Int = 0, framesPerWaypoint: Int = 0, releaseFrames: Int = 0)

Properties

Link copied to clipboard
val frames: Int

Pause frame count for PAUSE.

Link copied to clipboard

Pause frames after a TAP.

Link copied to clipboard

Interpolation frames between drag waypoints.

Link copied to clipboard

Pause frames after pointer down for DRAG_PATH.

Link copied to clipboard

Drag path points for DRAG_PATH.

Link copied to clipboard

Pause frames after pointer up for DRAG_PATH.

Link copied to clipboard

Gesture operation to perform.

Link copied to clipboard

Horizontal fraction for TAP.

Link copied to clipboard

Vertical fraction for TAP.