1# OH_Rect
2
3
4## 概述
5
6定义录屏界面的宽高以及画面信息。
7
8**系统能力:** SystemCapability.Multimedia.Media.AVScreenCapture
9
10**起始版本:** 10
11
12**相关模块:**[AVScreenCapture](_a_v_screen_capture.md)
13
14
15## 汇总
16
17
18### 成员变量
19
20| 名称 | 描述 |
21| -------- | -------- |
22| int32_t [x](#x) | 录屏界面的X坐标。 |
23| int32_t [y](#y) | 录屏界面的Y坐标。 |
24| int32_t [width](#width) | 录屏界面的宽度,单位px。 |
25| int32_t [height](#height) | 录屏界面的高度,单位px。 |
26
27
28## 结构体成员变量说明
29
30
31### height
32
33```
34int32_t OH_Rect::height
35```
36
37**描述**
38
39录屏界面的高度,单位px。
40
41
42### width
43
44```
45int32_t OH_Rect::width
46```
47
48**描述**
49
50录屏界面的宽度,单位px。
51
52
53### x
54
55```
56int32_t OH_Rect::x
57```
58
59**描述**
60
61录屏界面的X坐标。
62
63
64### y
65
66```
67int32_t OH_Rect::y
68```
69
70**描述**
71
72录屏界面的Y坐标。
73