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 60cb3df611118571adab5f1c8aa925094a1dfbc3..ddb7da4114ff9272ce856eca5b22fd0235114084 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 @@ -39,14 +39,8 @@ Line(options?: {width: Length, height: Length}) | -------- | -------- | -------- | -------- | -------- | | width | [Length](../../ui/ts-types.md#length) | 0 | 否 | 直线所在矩形的宽度。 | | height | [Length](../../ui/ts-types.md#length) | 0 | 否 | 直线所在矩形的高度。 | -| startPoint | Array<Point> | [0, 0] | 是 | 直线起点坐标(相对坐标)。 | -| endPoint | Array<Point> | [0, 0] | 是 | 直线终点坐标(相对坐标)。 | - -## Point - -| 名称 | 类型定义 | 描述 | -| ----- | --------------------- | ---------------------------------------------------- | -| Point | [[Length](../../ui/ts-types.md#length), [Length](ts-types.md#length)] | 用于描述点坐标,第一个值为x轴坐标,第二个值为y坐标。 | +| startPoint | Array | [0, 0] | 是 | 直线起点坐标点(相对坐标)。 | +| endPoint | Array | [0, 0] | 是 | 直线终点坐标点(相对坐标)。 | ## 示例