Variable Rect.top

y coordinate of top left corner

struct Rect
{
  // ...
  int top;
  // ...
}