},
'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
);