# Rect ## 概述 矩形的定义。 **起始版本:** 3.2 **相关模块:**[Codec](_codec_v10.md) ## 汇总 ### Public 属性 | 名称 | 描述 | | -------- | -------- | | int [width](#width) | 矩形的宽。 | | int [height](#height) | 矩形的高。 | ## 类成员变量说明 ### height ``` int Rect::height ``` **描述** 矩形的高。 ### width ``` int Rect::width ``` **描述** 矩形的宽。