# OH_Rect ## 概述 定义录屏界面的宽高以及画面信息。 **系统能力:** SystemCapability.Multimedia.Media.AVScreenCapture **起始版本:** 10 **相关模块:**[AVScreenCapture](_a_v_screen_capture.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | int32_t [x](#x) | 录屏界面的X坐标。 | | int32_t [y](#y) | 录屏界面的Y坐标。 | | int32_t [width](#width) | 录屏界面的宽度,单位px。 | | int32_t [height](#height) | 录屏界面的高度,单位px。 | ## 结构体成员变量说明 ### height ``` int32_t OH_Rect::height ``` **描述** 录屏界面的高度,单位px。 ### width ``` int32_t OH_Rect::width ``` **描述** 录屏界面的宽度,单位px。 ### x ``` int32_t OH_Rect::x ``` **描述** 录屏界面的X坐标。 ### y ``` int32_t OH_Rect::y ``` **描述** 录屏界面的Y坐标。