---
title: hi_line
description: "定义画线参数结构体。"
url: https://www.hiascend.com/document/detail/zh/Atlas200IDKA2DeveloperKit/latest/Application%20Development%20Guide/aadgc/aclcppdevg_03_1416.html
sourcePath: /source/zh/Atlas200IDKA2DeveloperKit/23.0.RC2/Application Development Guide/aadgc/aclcppdevg_03_1416.html
indexId: 356f3167419034ae0f559b60185e1022e9c9cb4a1f9fcb9492397d31dac2af93105
---
# 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位有效。 |
