Skip to content

Commit cfdb871

Browse files
authored
Update README.md
1 parent d619e18 commit cfdb871

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Rough.js
22

3-
<b>Rough.js</b> is a light weight (9kB) graphics library that lets you draw in a _sketchy_, _hand-drawn-like_, style.
3+
<b>Rough.js</b> is a light weight (~9kB gzipped) graphics library that lets you draw in a _sketchy_, _hand-drawn-like_, style.
44
The library defines primitives to draw lines, curves, arcs, polygons, circles, and ellipses. It also supports drawing [SVG paths](https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths).
55

66
Rough.js works with both [Canvas](https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API) and [SVG](https://developer.mozilla.org/en-US/docs/Web/SVG).
@@ -68,6 +68,10 @@ rc.rectangle(120, 105, 80, 80, {
6868
});
6969
```
7070

71+
Fill styles can be: **hachure**(default), **solid**, **zigzag**, **cross-hatch**, or **dots**
72+
73+
![Rough.js fill examples](https://roughjs.com/images/main/m13.png)
74+
7175
### Sketching style
7276

7377
![Rough.js rectangle](https://roughjs.com/images/main/m4.png)

0 commit comments

Comments
 (0)