“748cb5aff3776a59eae699de9cb91e93f8f9b84d”上不存在“...pserver/git@gitcode.net:s920243400/PaddleDetection.git”
提交 33a426de 编写于 作者: K kangchongtao

3.1 line文档修改

Signed-off-by: Nkangchongtao <kangchongtao@huawei.com>
上级 d319b89c
......@@ -34,14 +34,8 @@ Line(value?: {width: string&nbsp;|&nbsp;number, height: string&nbsp;|&nbsp;numbe
| ---------- | ------------- | ----------- | ---- | ------------------------ |
| width | [Length](ts-types.md#length) | 0 | 否 | 直线所在矩形的宽度。 |
| height | [Length](ts-types.md#length) | 0 | 否 | 直线所在矩形的高度。 |
| startPoint | Array&lt;Point&gt; | [0,&nbsp;0] | 是 | 直线起点坐标(相对坐标)。 |
| endPoint | Array&lt;Point&gt; | [0,&nbsp;0] | 是 | 直线终点坐标(相对坐标)。 |
## Point
| 名称 | 类型定义 | 描述 |
| ----- | --------------------- | ---------------------------------------------------- |
| Point | [[Length](ts-types.md#length),&nbsp;[Length](ts-types.md#length)] | 用于描述点坐标,第一个值为x轴坐标,第二个值为y坐标。 |
| startPoint | Array | [0,&nbsp;0] | 是 | 直线起点坐标点(相对坐标)。 |
| endPoint | Array | [0,&nbsp;0] | 是 | 直线终点坐标点(相对坐标)。 |
## 示例
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册