• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Camera_Rect
2
3
4## 概述
5
6矩形定义。
7
8**起始版本:** 11
9
10**相关模块:**[OH_Camera](_o_h___camera.md)
11
12**所在头文件:**[camera.h](camera_8h.md)
13
14
15## 汇总
16
17
18### 成员变量
19
20| 名称 | 描述 |
21| -------- | -------- |
22| int32_t [topLeftX](#topleftx) | 左上角的X坐标。  |
23| int32_t [topLeftY](#toplefty) | 左上角的Y坐标。  |
24| int32_t [width](#width) | 矩形宽度,单位为像素。  |
25| int32_t [height](#height) | 矩形高度,单位为像素。  |
26
27
28## 结构体成员变量说明
29
30
31### height
32
33```
34int32_t Camera_Rect::height
35```
36**描述**
37矩形高度,单位为像素。
38
39
40### topLeftX
41
42```
43int32_t Camera_Rect::topLeftX
44```
45**描述**
46左上角的X坐标。
47
48
49### topLeftY
50
51```
52int32_t Camera_Rect::topLeftY
53```
54**描述**
55左上角的Y坐标。
56
57
58### width
59
60```
61int32_t Camera_Rect::width
62```
63**描述**
64矩形宽度,单位为像素。
65