---
title: hi_rect
description: 定义矩形宽高和左上角坐标
url: "https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application%20Development%20Guide/aadgp/aclpythondevg_01_0569.html"
---

# hi_rect

#### 说明

定义矩形宽高和左上角坐标


#### 定义

```
hi_rect = {"x": x,
"y": y,
"width": width,
"height": height}
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| x | 整型，左上角x轴。 |
| y | 整型，左上角y轴。 |
| width | 整型，矩形宽度。 |
| height | 整型，矩形高度。 |
