summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorwout <wout@impinc.co.uk>2012-12-28 23:20:22 +0100
committerwout <wout@impinc.co.uk>2012-12-28 23:20:22 +0100
commita20c0b1430fb97ff203a9afd6ba6945cf18e58d1 (patch)
tree00d3e0f535b52a1dab50f8705b7efcd5a78d033e /README.md
parentc8be3da4ddeb80b7ca1a24df07cdca671b35c68a (diff)
downloadsvg.js-a20c0b1430fb97ff203a9afd6ba6945cf18e58d1.tar.gz
svg.js-a20c0b1430fb97ff203a9afd6ba6945cf18e58d1.zip
Added skew method to the sugar module
Diffstat (limited to 'README.md')
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index c1d68da..7cc5ce0 100644
--- a/README.md
+++ b/README.md
@@ -237,6 +237,14 @@ Unless you also define a rotation point:
rect.rotate(45, 100, 100);
```
+### Skew
+The `skew()` method will take an `x` and `y` value:
+
+```javascript
+// skew(x, y)
+rect.skew(0, 45);
+```
+
_This functionality requires the sugar.js module which is included in the default distribution._