• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Rect
2
3
4## Overview
5
6If **rects** is a null pointer, the buffer size is the same as the size of the dirty region by default.
7
8
9**Related Modules:**
10
11[NativeWindow](_native_window.md)
12
13
14## Summary
15
16
17
18### Member Variables
19
20| Name | Description |
21| -------- | -------- |
22| x | Start X coordinate of the rectangle. |
23| y | Start Y coordinate of the rectangle.  |
24| w | Width of the rectangle. |
25| h | Height of the rectangle.  |
26
27
28## Member Variable Description
29
30### x
31
32```
33int32_t Rect::x
34```
35**Description**<br>
36Start X coordinate of the rectangle.
37
38
39### y
40
41
42```
43int32_t Rect::y
44```
45**Description**<br>
46Start Y coordinate of the rectangle.
47
48### w
49
50
51```
52int32_t Rect::w
53```
54**Description**<br>
55Width of the rectangle.
56
57
58### h
59
60
61```
62int32_t Rect::h
63```
64**Description**<br>
65Height of the rectangle.
66