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