summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 34e97dd..b0301d3 100644
--- a/README.md
+++ b/README.md
@@ -454,6 +454,13 @@ The `rotate()` method will automatically rotate elements according to the center
rect.rotate(45)
```
+Although you can also define a specific rotation point:
+
+```javascript
+// rotate(degrees, cx, cy)
+rect.rotate(45, 50, 50)
+```
+
### Skew
The `skew()` method will take an `x` and `y` value: