mirror of
https://github.com/rough-stuff/rough.git
synced 2026-02-14 15:35:10 -05:00
Update README.md
This commit is contained in:
@@ -87,6 +87,12 @@ var curve = rough.curve([[10, 10], [150, 65], [180, 165], [300, 20], [400, 200]]
|
||||
|
||||
### SVG Paths
|
||||
|
||||
``` javascript
|
||||
var path = rough.path("M213.1,6.7c-32.4-14.4-73.7,0-88.1,30.6C110.6,4.9,67.5-9.5,36.9,6.7C2.8,22.9-13.4,62.4,13.5,110.9 C33.3,145.1,67.5,170.3,125,217c59.3-46.7,93.5-71.9,111.5-106.1C263.4,64.2,247.2,22.9,213.1,6.7z");
|
||||
path.fill = "#424242";
|
||||
path.hachureAngle = 90;
|
||||
```
|
||||
|
||||
### Dynamic shapes
|
||||
|
||||
## API
|
||||
|
||||
Reference in New Issue
Block a user