# Camera_Rect ## 概述 矩形定义。 **起始版本:** 11 **相关模块:**[OH_Camera](_o_h___camera.md) ## 汇总 ### 成员变量 | 名称 | 描述 | | -------- | -------- | | int32_t [topLeftX](#topleftx) | 左上角的X坐标。 | | int32_t [topLeftY](#toplefty) | 左上角的Y坐标。 | | int32_t [width](#width) | 矩形宽度,单位为像素。 | | int32_t [height](#height) | 矩形高度,单位为像素。 | ## 结构体成员变量说明 ### height ``` int32_t Camera_Rect::height ``` **描述** 矩形高度,单位为像素。 ### topLeftX ``` int32_t Camera_Rect::topLeftX ``` **描述** 左上角的X坐标。 ### topLeftY ``` int32_t Camera_Rect::topLeftY ``` **描述** 左上角的Y坐标。 ### width ``` int32_t Camera_Rect::width ``` **描述** 矩形宽度,单位为像素。