未验证 提交 8c500be3 编写于 作者: O openharmony_ci 提交者: Gitee

!9010 文档整改

Merge pull request !9010 from kangchongtao/0901
......@@ -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] | 是 | 直线终点坐标点(相对坐标)。 |
## 示例
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册