diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-line.md b/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-line.md index ce8dd447cbdac93ac60bba2f74acee9072c25a80..54f78ab10a643a4773e19ee14ad645750a93ce0b 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-line.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-drawing-components-line.md @@ -34,14 +34,8 @@ Line(value?: {width: string | number, height: string | numbe | ---------- | ------------- | ----------- | ---- | ------------------------ | | width | [Length](ts-types.md#length) | 0 | 否 | 直线所在矩形的宽度。 | | height | [Length](ts-types.md#length) | 0 | 否 | 直线所在矩形的高度。 | -| startPoint | Array<Point> | [0, 0] | 是 | 直线起点坐标(相对坐标)。 | -| endPoint | Array<Point> | [0, 0] | 是 | 直线终点坐标(相对坐标)。 | - -## Point - -| 名称 | 类型定义 | 描述 | -| ----- | --------------------- | ---------------------------------------------------- | -| Point | [[Length](ts-types.md#length), [Length](ts-types.md#length)] | 用于描述点坐标,第一个值为x轴坐标,第二个值为y坐标。 | +| startPoint | Array | [0, 0] | 是 | 直线起点坐标点(相对坐标)。 | +| endPoint | Array | [0, 0] | 是 | 直线终点坐标点(相对坐标)。 | ## 示例