---
title: hi_line
description: 定义画线参数结构体。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/dvpp/aclcppdevg_03_1105.html"
---

# hi_line

#### 说明

定义画线参数结构体。


#### 定义

```
typedef struct {
hi_point
start_point;
hi_point
end_point;
hi_u32
thick;
hi_u32
color;
} hi_line;
```


#### 成员

| 成员名称 | 描述 |
| --- | --- |
| start\_point | 起始点坐标。 |
| end\_point | 结束点坐标。 结束点坐标不能与起始点坐标相同。 |
| thick | 线的粗细值，取值需要2对齐。 |
| color | 线的颜色值，低24位有效。 |
