rusty_desktop_icons.Rect

class rusty_desktop_icons.Rect

Axis-aligned pixel rectangle in virtual-screen coordinates.

Uses inclusive-left / exclusive-right / inclusive-top / exclusive- bottom (matches Windows RECT).

as_tuple() → tuple[int, int, int, int]

(left, top, right, bottom) — matches Windows RECT layout.

contains(point: Sequence[int]) → bool

True if the given (x, y) point lies inside this rectangle (inclusive of left/top, exclusive of right/bottom).

property bottom: int
property height: int
property left: int
property right: int
property top: int
property width: int