1# OH_Rect
2
3
4## Overview
5
6The OH_Rect struct describes the width, height, and image information of the rectangle used for screen capture.
7
8**System capability**: SystemCapability.Multimedia.Media.AVScreenCapture
9
10**Since**: 10
11
12**Related module**: [AVScreenCapture](_a_v_screen_capture.md)
13
14
15## Summary
16
17
18### Member Variables
19
20| Name| Description|
21| -------- | -------- |
22| int32_t [x](#x) | X coordinate of the screen capture rectangle.|
23| int32_t [y](#y) | Y coordinate of the screen capture rectangle.|
24| int32_t [width](#width) | Width of the screen capture rectangle, in px.|
25| int32_t [height](#height) | Height of the screen capture rectangle, in px.|
26
27
28## Member Variable Description
29
30
31### height
32
33```
34int32_t OH_Rect::height
35```
36
37**Description**
38
39Height of the screen capture rectangle, in px.
40
41
42### width
43
44```
45int32_t OH_Rect::width
46```
47
48**Description**
49
50Width of the screen capture rectangle, in px.
51
52
53### x
54
55```
56int32_t OH_Rect::x
57```
58
59**Description**
60
61X coordinate of the screen capture rectangle.
62
63
64### y
65
66```
67int32_t OH_Rect::y
68```
69
70**Description**
71
72Y coordinate of the screen capture rectangle.
73