From 7779e3bf3fc27dc63647f90aca9e2179bf79e427 Mon Sep 17 00:00:00 2001 From: zengyawen Date: Fri, 14 Apr 2023 09:24:09 +0000 Subject: [PATCH] add nativeapis Signed-off-by: zengyawen --- .../reference/native-apis/_region.md | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/en/application-dev/reference/native-apis/_region.md b/en/application-dev/reference/native-apis/_region.md index e69de29bb2..bf88eda903 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 -- GitLab