export interface Rect { /** * X coordinate of the top-left corner of the rectangle. */ x: number; /** * Y coordinate of the top-left corner of the rectangle. */ y: number; /** * Width of the rectangle. */ width: number; /** * Height of the rectangle. */ height: number; }