GifCaptureConfig

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.

Constructors

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

Properties

Link copied to clipboard

Target recording duration in milliseconds.

Link copied to clipboard
val fps: Int

Capture frame rate used for frame extraction.

Link copied to clipboard

Low-level gesture steps replayed during capture.

Link copied to clipboard

Output height in pixels. Use 0 to auto-resolve height.

Link copied to clipboard

Node tag used as the gesture target root.

Link copied to clipboard

Scenario theme metadata.

Link copied to clipboard

Output width in pixels before GIF encoding.