# Rect

The `Rect` class represents a rectangle in 2D space. It contains four integer values that specify the top, left, right, and bottom edges of the rectangle.

## Definition

*Module:* core

```python
class Rect
```

## Properties

| Property  | Type | Description |
|---------- | ---- |-------------|
| [`top`](#top) | *int* | The top edge of the rectangle. |
| [`left`](#left) | *int* | The left edge of the rectangle. |
| [`right`](#right) | *int* | The right edge of the rectangle. |
| [`bottom`](#bottom) | *int* | The bottom edge of the rectangle. |
| [`id`](#id) | *int* | The ID of the rectangle. |

