Skip to main content

Interface: BoxRect

Defines a rectangular area with position and dimensions. Used for UI layout, interactive regions, and calculating boundaries for product components and interface elements.

Properties

bottom

bottom: number

Distance from top edge of container to bottom edge of rectangle


height

height: number

Height of the rectangle in pixels


left

left: number

Distance from left edge of container to left edge of rectangle


right: number

Distance from left edge of container to right edge of rectangle


top

top: number

Distance from top edge of container to top edge of rectangle


width

width: number

Width of the rectangle in pixels