Package-level declarations

Types

Link copied to clipboard
data class GifCaptureConfig(val durationMs: Int = 3000, val fps: Int = 50, val widthPx: Int = 540, val heightPx: Int = 0, val theme: GifTheme = GifTheme.DARK, val interactionNodeTag: String = "", val gestures: List<GifGestureStep> = emptyList())

Capture configuration for a single GIF scenario.

Link copied to clipboard

Validation helpers for scenario specs and capture configs.

Link copied to clipboard
data class GifFractionPoint(val x: Float, val y: Float)

A normalized point in the interaction node coordinate space.

Link copied to clipboard
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.

Link copied to clipboard

Gesture primitives used during deterministic replay.

Link copied to clipboard

Contract implemented by generated scenario registries.

Link copied to clipboard
data class GifScenarioSpec(val name: String, val capture: GifCaptureConfig)

A named scenario and its capture configuration.

Link copied to clipboard

Available visual themes for GIF capture scenarios.

Link copied to clipboard

Thrown when a scenario name or capture configuration fails validation.