Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

radial gradient gets lost #21

Open
try-ruby opened this issue Nov 11, 2012 · 1 comment
Open

radial gradient gets lost #21

try-ruby opened this issue Nov 11, 2012 · 1 comment

Comments

@try-ruby
Copy link

Hello,
thanks for this great library! I was successful with several drawings. Unfortunately, I'm stuck with a circle, having a radial gradient as in the following example. Please help. Thanks!

var paper = Raphael( "foo-container", 100, 100 );
var circle = paper.circle(150, 40, 30).attr('fill', 'r(0.25, 0.5)#000-#fff');
var svgString = paper.toSVG();
document.getElementById('bar-container').innerHTML = svgString;
@AliasIO
Copy link
Owner

AliasIO commented Nov 11, 2012

Gradients and dashed strokes aren't currently supported. If you want to give this a go yourself I'm happy to merge your changes in.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants