• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# WindowManager_Rect
2
3
4## 概述
5
6定义窗口矩形结构体,包含窗口位置和宽高信息。
7
8**起始版本:** 15
9
10**相关模块:**[WindowManager](_window_manager___native_module.md)
11
12**所在头文件:** [oh_window_comm.h](oh__window__comm_8h.md)
13
14## 汇总
15
16
17### 成员变量
18
19| 名称 | 描述 |
20| -------- | -------- |
21| int32_t [posX](#posx) | 窗口的x轴,单位为px,该参数为整数。 |
22| int32_t [posY](#posy) | 窗口的y轴,单位为px,该参数为整数。 |
23| uint32_t [width](#width) | 窗口的宽度,单位为px,该参数为整数。 |
24| uint32_t [height](#height) | 窗户的高度,单位为px,该参数为整数。 |
25
26
27## 结构体成员变量说明
28
29
30### height
31
32```
33uint32_t WindowManager_Rect::height
34```
35
36**描述**
37
38窗户的高度,单位为px,该参数为整数。
39
40
41### posX
42
43```
44int32_t WindowManager_Rect::posX
45```
46
47**描述**
48
49窗口的x轴,单位为px,该参数为整数。
50
51
52### posY
53
54```
55int32_t WindowManager_Rect::posY
56```
57
58**描述**
59
60窗口的y轴,单位为px,该参数为整数。
61
62
63### width
64
65```
66uint32_t WindowManager_Rect::width
67```
68
69**描述**
70
71窗口的宽度,单位为px,该参数为整数。
72