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:
@@ -24,6 +24,7 @@ Initialize a **RoughCanvas** object by passing in the canvas node and the size o
|
||||
Following code snippet draws a rectangle.
|
||||
|
||||

|
||||
|
||||
``` javascript
|
||||
var rough = new RoughCanvas(document.getElementById('myCanvas'), 400, 200);
|
||||
rough.rectangle(10, 10, 200, 200); // x, y, width, height
|
||||
|
||||
Reference in New Issue
Block a user