# OH_Rect ## Overview The OH_Rect struct describes the width, height, and image information of the rectangle used for screen capture. **System capability**: SystemCapability.Multimedia.Media.AVScreenCapture **Since**: 10 **Related module**: [AVScreenCapture](_a_v_screen_capture.md) ## Summary ### Member Variables | Name| Description| | -------- | -------- | | int32_t [x](#x) | X coordinate of the screen capture rectangle.| | int32_t [y](#y) | Y coordinate of the screen capture rectangle.| | int32_t [width](#width) | Width of the screen capture rectangle, in px.| | int32_t [height](#height) | Height of the screen capture rectangle, in px.| ## Member Variable Description ### height ``` int32_t OH_Rect::height ``` **Description** Height of the screen capture rectangle, in px. ### width ``` int32_t OH_Rect::width ``` **Description** Width of the screen capture rectangle, in px. ### x ``` int32_t OH_Rect::x ``` **Description** X coordinate of the screen capture rectangle. ### y ``` int32_t OH_Rect::y ``` **Description** Y coordinate of the screen capture rectangle.