From 33a426de4fea2a914d5a8ed1e77688b1ea9a3798 Mon Sep 17 00:00:00 2001 From: kangchongtao Date: Thu, 1 Sep 2022 17:45:48 +0800 Subject: [PATCH] =?UTF-8?q?3.1=20line=E6=96=87=E6=A1=A3=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: kangchongtao --- .../reference/arkui-ts/ts-drawing-components-line.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) 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 ce8dd447cb..54f78ab10a 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] | 是 | 直线终点坐标点(相对坐标)。 | ## 示例 -- GitLab