BoundingRect interface

A bounding box for an area inside an image.

Properties

h

Height measured from the top-left point of the area, in pixels.

w

Width measured from the top-left point of the area, in pixels.

x

X-coordinate of the top left point of the area, in pixels.

y

Y-coordinate of the top left point of the area, in pixels.

Property Details

h

Height measured from the top-left point of the area, in pixels.

h?: undefined | number

Property Value

undefined | number

w

Width measured from the top-left point of the area, in pixels.

w?: undefined | number

Property Value

undefined | number

x

X-coordinate of the top left point of the area, in pixels.

x?: undefined | number

Property Value

undefined | number

y

Y-coordinate of the top left point of the area, in pixels.

y?: undefined | number

Property Value

undefined | number