Skip to main content

Module style

Module style 

Source
Expand description

The cinematic framing layer — background, cursor, crop, and aspect.

These configs are consumed by the renderer (wisp) at preview + export time to wrap the raw screen capture in the produced look the editor’s Inspector exposes (ED.15 / ED.18 / ED.19). Default values mirror the reference design (padding 64 px, corner radius 14 px, shadow 60, cursor 180 %, auto-zoom hold 1.2 s / max 2.4×).

Structs§

AutoZoomConfig
Auto-zoom detection settings (ED.17 generates Auto zoom regions using these thresholds).
BackgroundConfig
Background framing: the backdrop plus the padding / rounding / shadow that lift the screen capture off it.
CropRect
A crop rectangle, normalized to [0, 1] of the source frame: (x, y) is the top-left corner, (width, height) the extent. The full frame is { x: 0, y: 0, width: 1, height: 1 }.
CursorConfig
Cursor styling and smoothing (ED.19 renders a cursor overlay driven by these settings + the captured cursor track).

Enums§

AspectRatio
Output aspect ratio. Drives the composed-canvas dimensions; changing it reframes the export (e.g. a 16:9 desktop recording → a 9:16 short).
BackgroundSource
The backdrop the framed screen sits on.