Commit 3a840bef authored by Tomas Alabes's avatar Tomas Alabes

Glow function for set

parent a8d933c5
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -4872,6 +4872,19 @@ ...@@ -4872,6 +4872,19 @@
return "Rapha\xebl\u2018s set"; return "Rapha\xebl\u2018s set";
}; };
setproto.glow = function(glowConfig) {
var ret = this.paper.set();
this.forEach(function(shape, index){
var g = shape.glow(glowConfig);
if(g != null){
g.forEach(function(shape2, index2){
ret.push(shape2);
});
}
});
return ret;
};
/*\ /*\
* Raphael.registerFont * Raphael.registerFont
[ method ] [ method ]
......
...@@ -5252,6 +5252,19 @@ ...@@ -5252,6 +5252,19 @@
return "Rapha\xebl\u2018s set"; return "Rapha\xebl\u2018s set";
}; };
setproto.glow = function(glowConfig) {
var ret = this.paper.set();
this.forEach(function(shape, index){
var g = shape.glow(glowConfig);
if(g != null){
g.forEach(function(shape2, index2){
ret.push(shape2);
});
}
});
return ret;
};
/*\ /*\
* Raphael.registerFont * Raphael.registerFont
[ method ] [ method ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment