diff --git a/en/application-dev/reference/native-apis/_region.md b/en/application-dev/reference/native-apis/_region.md index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..bf88eda903f5fc69faafcc562ea1db470831d610 100644 --- a/en/application-dev/reference/native-apis/_region.md +++ b/en/application-dev/reference/native-apis/_region.md @@ -0,0 +1,45 @@ +# Region + + +## Overview + +Defines the rectangle (dirty region) where the content is to be updated in the local native window. + +**Related Modules:** + +[NativeWindow](_native_window.md) + + +## Summary + + + +### Member Variables + +| Name | Description | +| -------- | -------- | +| [rects](#rects) | If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default. | +| [rectNumber](#rectnumber) | If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default. | + + +## Member Variable Description + + +### rectNumber + + +``` +int32_t Region::rectNumber +``` +**Description**
+If **rectNumber** is **0**, the buffer size is the same as the size of the dirty region by default. + + +### *rects + +``` +struct Rect Region::*rects +``` + +**Description**
+If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default. \ No newline at end of file