Defines a complete DOM Element bounding rect object, similar to a DOMRect

interface DOMElementBoundingRect {
    top: number;
    right: number;
    bottom: number;
    left: number;
    width: number;
    height: number;
    x: number;
    y: number;
}

Hierarchy (view full)

Properties

top: number

top position

right: number

right position

bottom: number

bottom position

left: number

left position

width: number

width of the rectangle

height: number

height of the rectangle

x: number

X position

y: number

Y position