Glow function for set

This commit is contained in:
Tomas Alabes 2013-02-16 00:12:48 -03:00
parent a8d933c59d
commit 3a840befc2
3 changed files with 27 additions and 1 deletions

2
raphael-min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -4872,6 +4872,19 @@
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
[ method ]

View File

@ -5252,6 +5252,19 @@
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
[ method ]