1# Region 2 3 4## Overview 5 6The **Region** struct describes the rectangle (dirty region) where the content is to be updated in the local **OHNativeWindow**. 7 8**Since**: 8 9 10**Related module**: [NativeWindow](_native_window.md) 11 12 13## Summary 14 15 16### Structs 17 18| Name| Description| 19| -------- | -------- | 20| struct [Rect](_rect.md) | Describes a rectangle.| 21 22 23### Member Variables 24 25| Name| Description| 26| -------- | -------- | 27| struct [Region::Rect](_rect.md) \* rects | If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.| 28| int32_t [rectNumber](#rectnumber) | If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default.| 29 30 31## Member Variable Description 32 33 34### rectNumber 35 36``` 37int32_t Region::rectNumber 38``` 39 40**Description** 41 42If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default. 43 44 45### \*rects 46 47``` 48struct Rect Region::*rects 49``` 50 51**Description** 52 53Pointer to the struct. The type is [Rect](_rect.md). If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default. 54