mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
PathEditing example: add black stroke to paths.
This commit is contained in:
parent
61fa298780
commit
6808dc4b1c
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@
|
|||
var lightness = (Math.random() - 0.5) * 0.4 + 0.4;
|
||||
var hue = Math.random() * 360;
|
||||
path.style = {
|
||||
fillColor: new HSLColor(hue, 1, lightness)
|
||||
fillColor: new HSLColor(hue, 1, lightness),
|
||||
strokeColor: 'black'
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue