From 6bad14d2921ca74cbe7a8d18508c9f9d1b65ca47 Mon Sep 17 00:00:00 2001 From: wout Date: Sun, 23 Dec 2012 12:35:14 +0100 Subject: [PATCH] Updated readme --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f279990..9cb17d9 100644 --- a/README.md +++ b/README.md @@ -46,13 +46,20 @@ Ellipses, like rects, have two arguments, their width and height: ```javascript var ellipse = draw.ellipse(100, 100); ``` - +This element type has an extra method to move it by its 'cx' and 'cy' values: +```javascript +ellipse.center(150, 150); +``` ### Circle The only argument necessary for a circle is the diameter: ```javascript var circle = draw.circle(100); ``` +Like ellipse this element type has an extra method to move it by its 'cx' and 'cy' values: +```javascript +circle.center(150, 150); +``` ### Text -- 2.39.5