diff options
author | wout <wout@impinc.co.uk> | 2012-12-28 23:20:22 +0100 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2012-12-28 23:20:22 +0100 |
commit | a20c0b1430fb97ff203a9afd6ba6945cf18e58d1 (patch) | |
tree | 00d3e0f535b52a1dab50f8705b7efcd5a78d033e /README.md | |
parent | c8be3da4ddeb80b7ca1a24df07cdca671b35c68a (diff) | |
download | svg.js-a20c0b1430fb97ff203a9afd6ba6945cf18e58d1.tar.gz svg.js-a20c0b1430fb97ff203a9afd6ba6945cf18e58d1.zip |
Added skew method to the sugar module
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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._ |