type alias Crop

The crop region in <Crop>.

Properties

optional
channelId: number

Zero-based channel.

optional
topLeftX: number

Left edge of the region.

optional
topLeftY: number

Top edge of the region.

optional
cropWidth: number

Width of the region.

optional
cropHeight: number

Height of the region.

optional
mainWidth: number

Width of the main stream the region is measured in.

optional
mainHeight: number

Height of the main stream the region is measured in.

optional
subHeight: number

Height of the sub stream; written only.

optional
subWidth: number

Width of the sub stream; written only.

optional
version: number

A <version> child element, not the version="1.1" attribute; written only.

Usage

import { type Crop } from "protocol/params/mod.ts";