# Rect
## Overview
If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.
**Related Modules:**
[NativeWindow](_native_window.md)
## Summary
### Member Variables
| Name | Description |
| -------- | -------- |
| x | Start X coordinate of the rectangle. |
| y | Start Y coordinate of the rectangle. |
| w | Width of the rectangle. |
| h | Height of the rectangle. |
## Member Variable Description
### x
```
int32_t Rect::x
```
**Description**
Start X coordinate of the rectangle.
### y
```
int32_t Rect::y
```
**Description**
Start Y coordinate of the rectangle.
### w
```
int32_t Rect::w
```
**Description**
Width of the rectangle.
### h
```
int32_t Rect::h
```
**Description**
Height of the rectangle.