mirror of
https://github.com/rough-stuff/rough.git
synced 2026-04-22 03:00:28 -04:00
updated readme
This commit is contained in:
10
README.md
10
README.md
@@ -68,7 +68,7 @@ rc.rectangle(120, 105, 80, 80, {
|
||||
});
|
||||
```
|
||||
|
||||
Fill styles can be: **hachure**(default), **solid**, **zigzag**, **cross-hatch**, **dots**, **sunburst**, **dashed**, or **zigzag-line**
|
||||
Fill styles can be: **hachure**(default), **solid**, **zigzag**, **cross-hatch**, **dots**, **dashed**, or **zigzag-line**
|
||||
|
||||

|
||||
|
||||
@@ -97,14 +97,6 @@ SVG Path with simplification:
|
||||
|
||||
 
|
||||
|
||||
## Using web workers
|
||||
|
||||
RoughJS ships with an async version *rough-async.js*. Also in the [dist folder](https://github.com/pshihn/rough/tree/master/dist) is *worker.js* that can be passed in the config. This will offload all processing to a web worker - freeing up your main UI thread. This is great when creating complex drawings using RoughJs like maps. Read more about it [here](https://github.com/pshihn/rough/wiki/RoughJS-in-a-web-worker).
|
||||
|
||||

|
||||
|
||||
(source code for this map in examples)
|
||||
|
||||
## Examples
|
||||
|
||||
[View examples here](https://github.com/pshihn/rough/wiki/Examples)
|
||||
|
||||
Reference in New Issue
Block a user