• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Camera_Rect
2
3
4## Overview
5
6The **Camera_Rect** struct defines the rectangle.
7
8**Since**: 11
9
10**Related module**: [OH_Camera](_o_h___camera.md)
11
12
13## Summary
14
15
16### Member Variables
17
18| Name| Description|
19| -------- | -------- |
20| [topLeftX](#topleftx) | X coordinate at the upper left corner.|
21| [topLeftY](#toplefty) | Y coordinate at the upper left corner.|
22| [width](#width) | Width of the rectangle, in pixels.|
23| [height](#height) | Height of the rectangle, in pixels.|
24
25
26## Member Variable Description
27
28
29### height
30
31```
32int32_t Camera_Rect::height
33```
34
35**Description**
36
37Height of the rectangle, in pixels.
38
39
40### topLeftX
41
42```
43int32_t Camera_Rect::topLeftX
44```
45
46**Description**
47
48X coordinate at the upper left corner.
49
50
51### topLeftY
52
53```
54int32_t Camera_Rect::topLeftY
55```
56
57**Description**
58
59Y coordinate at the upper left corner.
60
61
62### width
63
64```
65int32_t Camera_Rect::width
66```
67
68**Description**
69
70Width of the rectangle, in pixels.
71