Skip to main content

BoundsType

Electron APIs / recorder / BoundsType

type BoundsType =
| "None"
| "Stretch"
| "ScaleInner"
| "ScaleOuter"
| "ScaleToWidth"
| "ScaleToHeight"
| "MaxOnly";

Defines the type of bounding or scaling applied to an element's dimensions within a container.

Typically used to control how content (like an image or video) is resized to fit or fill a specific area.