plugins/raphael.export.js
[raphael] / plugins / raphael.export.js
index 24e14cc..e8a4503 100644 (file)
                },
                'path' : function(node) {
                        var initial = ( node.matrix.a === 1 && node.matrix.d === 1 ) ? {} : { 'transform' : node.matrix.toString() };
-
+            
+            
+            
                        return tag(
                                'path',
                                reduce(
 
                                                return initial;
                                        },
-                                       {}
+                    {
+                            style:  'fill:' + Raphael.color(node.attrs.fill).hex + ';'
+                    }
                                ),
                                node.matrix
                                );