Skip to content

Commit d98befe

Browse files
authored
docs(linestyle): 更新line-style英文文档 (#1648)
1 parent 9a30f2f commit d98befe

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/common/line-style.en.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
<!--线条样式-->
1+
<!--line style-->
22

3-
| 属性名 | 类型 | 介绍 |
3+
| Attr | Type | Description |
44
| ------------- | --------------- | ------------------------------------------------------------------------------------------------------ |
5-
| stroke | string | 线的颜色 |
6-
| lineWidth | number | 线宽 |
7-
| lineDash | [number,number] | 虚线配置,第一个值为虚线每个分段的长度,第二个值为分段间隔的距离。lineDash 设为[0,0]的效果为没有描边。 |
8-
| opacity | number | 透明度 |
9-
| shadowColor | string | 阴影颜色 |
10-
| shadowBlur | number | 高斯模糊系数 |
11-
| shadowOffsetX | number | 设置阴影距图形的水平距离 |
12-
| shadowOffsetY | number | 设置阴影距图形的垂直距离 |
13-
| cursor | string | 鼠标样式。同 css 的鼠标样式,默认 'default' |
5+
| stroke | string | color of the line |
6+
| lineWidth | number | width of the line |
7+
| lineDash | [number,number] | configure dashed line, the first parameter is the length of each segment, the second parameter is the gap between segment. When lineDash is set to [0,0], there is no effect. |
8+
| opacity | number | opacity |
9+
| shadowColor | string | shadow color |
10+
| shadowBlur | number | Gaussian blur coefficient |
11+
| shadowOffsetX | number | configure horizontal distance between shadow and line |
12+
| shadowOffsetY | number | configure vertical distance between shadow and line |
13+
| cursor | string | mouse style, same as the mouse style of CSS, default value : 'default' |
1414

15-
示例代码
15+
Example
1616

1717
```ts
1818
{

0 commit comments

Comments
 (0)