views:

126

answers:

1

Hi!

I was wondering if its possible to render gradients using the import-plugin for RaphaelJS.

Import tool: http: //github.com/wout/raphael-svg-import

Or is there a script (PHP) I could use to make a path string I could use with raphael. I have a AJAX interface I can use if there is a PHP solution for this.

Currently the import tool for raphael does not seem to be supporting much styles....

Thank you!

Morten

A: 

I'm planning to Wouts plugin very shortly.

With paths you can only have linear gradients at present but radials can be applied to some elements.

Here are some links that might benefit you.. http://www.irunmywebsite.com/raphael/additionalhelp.html?q=linearadial http://www.irunmywebsite.com/raphael/additionalhelp.html?q=advancedlineargradients http://www.irunmywebsite.com/raphael/CloudOverlay_live.html

Regards Charles http://www.irunmywebsite.com/raphael/raphaelsource.html

Chasbeen