• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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**Header file**: [native_avscreen_capture_base.h](native__avscreen__capture__base_8h.md)
15
16
17## Summary
18
19
20### Member Variables
21
22| Name| Description|
23| -------- | -------- |
24| int32_t [x](#x) | X coordinate of the screen capture rectangle.|
25| int32_t [y](#y) | Y coordinate of the screen capture rectangle.|
26| int32_t [width](#width) | Width of the screen capture rectangle, in px.|
27| int32_t [height](#height) | Height of the screen capture rectangle, in px.|
28
29
30## Member Variable Description
31
32
33### height
34
35```
36int32_t OH_Rect::height
37```
38
39**Description**
40
41Height of the screen capture rectangle, in px.
42
43
44### width
45
46```
47int32_t OH_Rect::width
48```
49
50**Description**
51
52Width of the screen capture rectangle, in px.
53
54
55### x
56
57```
58int32_t OH_Rect::x
59```
60
61**Description**
62
63X coordinate of the screen capture rectangle.
64
65
66### y
67
68```
69int32_t OH_Rect::y
70```
71
72**Description**
73
74Y coordinate of the screen capture rectangle.
75