Skip to main content

Interface: BoundingRect

Defined in: packages/core/src/geometry/BoundingRect.ts:5

An element's axis-aligned bounding box in viewport pixels — x/y is the top-left corner, matching the shape of DOMRect/getBoundingClientRect().

Properties​

height​

height: number

Defined in: packages/core/src/geometry/BoundingRect.ts:9


width​

width: number

Defined in: packages/core/src/geometry/BoundingRect.ts:8


x​

x: number

Defined in: packages/core/src/geometry/BoundingRect.ts:6


y​

y: number

Defined in: packages/core/src/geometry/BoundingRect.ts:7