eufy-mega / model/capabilities / ZoomRegion
Type Alias: ZoomRegion
ts
type ZoomRegion = object;Optional digital-zoom crop window for PtzActions.zoom. The app's SetPictureZoomParser carries a region alongside the target factor; when offset is false the region is ignored and the zoom is centred (x/y/w/h sent as 0). Coordinates are the app's own normalised values — pass them through only when mirroring a captured region.
Properties
h?
ts
optional h?: number;offset?
ts
optional offset?: boolean;When true, the x/y/w/h crop is applied; when false (default) the zoom is centred.
orgZoom?
ts
optional orgZoom?: number;The zoom factor the region is relative to (app default 0).
w?
ts
optional w?: number;x?
ts
optional x?: number;y?
ts
optional y?: number;