From 5d0a340754b7770f8eeec128e6dd5802907ff8e3 Mon Sep 17 00:00:00 2001 From: Mike Sierra Date: Wed, 9 Oct 2013 16:00:58 -0400 Subject: [PATCH] EDIT Paper.image, to collapse redundant doc entries --- src/svg.js | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/src/svg.js b/src/svg.js index 1074f93..551248b 100644 --- a/src/svg.js +++ b/src/svg.js @@ -2612,6 +2612,7 @@ function gradientRadial(defs, cx, cy, r, fx, fy) { } return el; }; + /*\ * Paper.image [ method ] @@ -2619,27 +2620,13 @@ function gradientRadial(defs, cx, cy, r, fx, fy) { * Embeds an image into the surface. ** - src (string) URI of the source image - - x (number) x coordinate position - - y (number) y coordinate position - - width (number) width of the image - - height (number) height of the image - = (object) Raphaël element object with type `image` - ** - > Usage - | var c = paper.image("apple.png", 10, 10, 80, 80); - \*/ - /*\ - * Paper.image - [ method ] - ** - * Embeds an image into the surface. - ** - - src (string) URI of the source image - - x (number) x coordinate position - - y (number) y coordinate position + - x (number) x offset position + - y (number) y offset position - width (number) width of the image - height (number) height of the image = (object) `image` element + * or + = (object) Raphaël element object with type `image` ** > Usage | var c = paper.image("apple.png", 10, 10, 80, 80);