FaceRectangle interface

An object describing face rectangle.

Properties

height

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

left

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

top

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

width

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

Property Details

height

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

height?: number

Property Value

number

left

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

left?: number

Property Value

number

top

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

top?: number

Property Value

number

width

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

width?: number

Property Value

number