Interface RegionOfInterest

The region of interest is specified as an inset between screen edge and RoE on each side, expressed as a fractional value (between 0 and 0.5).

For instance, to have an area that occupies the middle 80% horizontal area and 50% vertical area, you would specify the region of interest as follows:

{ left: 0.1, right: 0.1, top: 0.25, bottom: 0.25 }

(10% width inset on each side, 25% height inset on each side)

interface RegionOfInterest {
    bottom: number;
    left: number;
    right: number;
    top: number;
}

Properties

Properties

bottom: number

Bottom inset, relative [0 .. 0.5]

Example

0.25
left: number

Left inset, relative [0 .. 0.5].

Example

0.1
right: number

Right inset, relative [0 .. 0.5].

Example

0.1
top: number

Top inset, relative [0 .. 0.5].

Example

0.25

Generated using TypeDoc