summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index b47fbc4..66668e5 100644
--- a/README.md
+++ b/README.md
@@ -187,9 +187,9 @@ rect.stroke({ color: '#f06', opacity: 0.6, width: 5 });
### Rotate
The 'rotate()' method will automatically rotate elements according to the centre of the element:
```javascript
-rect.rotate({ deg: 45 });
+rect.rotate(45);
```
-But you also define a rotation point:
+Unless you also define a rotation point:
```javascript
rect.rotate({ deg: 45, x: 100, y: 100 });
```