From 76af3112c3f3778eb0dfcbaf4517a7b46a3fb403 Mon Sep 17 00:00:00 2001 From: wout Date: Thu, 27 Dec 2012 16:17:54 +0100 Subject: [PATCH] Updated README --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index e65929d..9d160ec 100644 --- a/README.md +++ b/README.md @@ -128,7 +128,8 @@ rect.attr('x', 50, 'http://www.w3.org/2000/svg'); ### Transform -With the transform attribute elements can be scaled, rotated, translated and skewed: +With the `transform()` method elements can be scaled, rotated, translated and skewed: + ```javascript rect.transform({ rotation: 45, @@ -136,7 +137,9 @@ rect.transform({ cy: 100 }); ``` -All available translations are: + +All available transformations are: + ```javascript rect.transform({ x: [translation on x-axis], @@ -181,7 +184,7 @@ rect.remove(); ``` -### Bounding box +## Bounding box ```javascript path.bbox(); -- 2.39.5