Glow function for set
This commit is contained in:
parent
a8d933c59d
commit
3a840befc2
File diff suppressed because one or more lines are too long
|
|
@ -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 ]
|
||||
|
|
|
|||
13
raphael.js
13
raphael.js
|
|
@ -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 ]
|
||||
|
|
|
|||
Loading…
Reference in New Issue