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