does anybody know how to use the shadow plugin (http://github.com/
DmitryBaranovskiy/raphael/blob/master/plugins/raphael.shadow.js)?
I'd like to display a shadow on a rect for instance.
paper = Raphael('paper', 400, 400);
r = paper.rect(10,10, 40, 30, 5).attr({
fill: '#fff',
stroke: '#000',
'stroke-width': 1
});
how would I do that?
thanks!
christian
| I would be too The plugin is called Raphael.shadow = function (x, y, w, h, options) {
--- On Mon, 2/8/10, mauzer_tim <tkachen...@gmail.com> wrote: |
|
To create a shadowed canvas you have to call this code:
paper = Raphael.shadow(10, 10, 300, 300);
On Feb 9, 4:40 am, charles thomas <charles...@yahoo.com> wrote:
> I would be too
> The plugin is called
> Raphael.shadow = function (x, y, w, h, options) {
> when I was expecting
> Raphael.fn.shadow = function (x, y, w, h, options) {
> for a function that extends the Canvas...
>
> and theres a method in it called "this.format" which does not
> seem to go anywhere..
> Expert or Dmitry?
>
> --- On Mon, 2/8/10, mauzer_tim <tkachenko.i...@gmail.com> wrote:
>
> From: mauzer_tim <tkachenko.i...@gmail.com>
> Subject: Re: shadow plugin
> To: "Raphaël" <raph...@googlegroups.com>
> Received: Monday, February 8, 2010, 12:51 PM
>
> Thumbs up. I'm interested to know about this as well.
>
> --
> You received this message because you are subscribed to the Google Groups "Raphaël" group.
> To post to this group, send an email to raph...@googlegroups.com.
> To unsubscribe from this group, send email to raphaeljs+...@googlegroups.com.
> For more options, visit this group athttp://groups.google.com/group/raphaeljs?hl=en-GB.
>
> __________________________________________________________________
> Looking for the perfect gift? Give the gift of Flickr!
>
> http://www.flickr.com/gift/
| thanks for looking at it. We are all so busy but a few minutes sharing knowledge, greatly benefits this and other associated communities. Regards Charles http://www.irunmywebsite.com/ |
--- On Tue, 3/2/10, mauzer_tim <tkachen...@gmail.com> wrote: |
|
|
|