Skip to content

Commit 5138eb7

Browse files
committed
add pointColor option
1 parent 93924c7 commit 5138eb7

10 files changed

+4858
-12
lines changed

README-zh.md

+1
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ cn.destroy();
7979
## 配置
8080

8181
- **`color`**: 线条颜色, 默认: `'0,0,0'` ;三个数字分别为(R,G,B),注意用,分割
82+
- **`pointColor`**: 交点颜色, 默认: `'0,0,0'` ;三个数字分别为(R,G,B),注意用,分割
8283
- **`opacity`**: 线条透明度(0~1), 默认: `0.5`
8384
- **`count`**: 线条的总数量, 默认: `150`
8485
- **`zIndex`**: 背景的z-index属性,css属性用于控制所在层的位置, 默认: `-1`

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ cn.destroy();
8181
## Configuration
8282

8383
- **`color`**: color of lines, default: `'0,0,0'`; RGB values: (R,G,B).(note: use ',' to separate.)
84+
- **`pointColor`**: color of points, default: `'0,0,0'`; RGB values: (R,G,B).(note: use ',' to separate.)
8485
- **`opacity`**: the opacity of line (0~1), default: `0.5`.
8586
- **`count`**: the number of lines, default: `99`.
8687
- **`zIndex`**: z-index property of the background, default: `-1`.

dist/canvas-nest.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)