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**所在头文件:**[native_avscreen_capture_base.h](native__avscreen__capture__base_8h.md) 15 16 17## 汇总 18 19 20### 成员变量 21 22| 名称 | 描述 | 23| -------- | -------- | 24| int32_t [x](#x) | 录屏界面的X坐标。 | 25| int32_t [y](#y) | 录屏界面的Y坐标。 | 26| int32_t [width](#width) | 录屏界面的宽度,单位px。 | 27| int32_t [height](#height) | 录屏界面的高度,单位px。 | 28 29 30## 结构体成员变量说明 31 32 33### height 34 35``` 36int32_t OH_Rect::height 37``` 38 39**描述** 40 41录屏界面的高度,单位px。 42 43 44### width 45 46``` 47int32_t OH_Rect::width 48``` 49 50**描述** 51 52录屏界面的宽度,单位px。 53 54 55### x 56 57``` 58int32_t OH_Rect::x 59``` 60 61**描述** 62 63录屏界面的X坐标。 64 65 66### y 67 68``` 69int32_t OH_Rect::y 70``` 71 72**描述** 73 74录屏界面的Y坐标。 75