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?: number

Property Value

number

w

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

w?: number

Property Value

number

x

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

x?: number

Property Value

number

y

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

y?: number

Property Value

number