ScreenshotClipRecord
ScreenshotClipRecord =
object
Defined in: clip.ts:63
A clip as recorded into renderOptions.screenshot.clip. The renderer derives
the effective clip by expanding box by padding (CSS px on each side) and
clamping to the captured viewport.
source drives Studio editability:
'locator':boxis the element’s bounding box and is locked (it re-resolves from the locator on every capture). Onlypaddingis editable in Studio.'region':boxis a free rectangle (an explicit region, with anypaddingalready folded in) and is fully editable in Studio;paddingis zero.
Properties
Section titled “Properties”box:
ScreenshotClip
Defined in: clip.ts:64
padding
Section titled “padding”padding:
ResolvedClipPadding
Defined in: clip.ts:65
source
Section titled “source”source:
"locator"|"region"
Defined in: clip.ts:66