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