From a20c0b1430fb97ff203a9afd6ba6945cf18e58d1 Mon Sep 17 00:00:00 2001 From: wout Date: Fri, 28 Dec 2012 23:20:22 +0100 Subject: Added skew method to the sugar module --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.md') 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._ -- cgit v1.2.3