SetBlendMode Action

This commit is contained in:
Richard Davey 2017-09-19 02:04:17 +01:00
parent 42e792e076
commit a2511548c0
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,11 @@
var SetBlendMode = function (items, value)
{
for (var i = 0; i < items.length; i++)
{
items[i].setBlendMode(value;
}
return items;
};
module.exports = SetBlendMode;

View file

@ -28,6 +28,7 @@ module.exports = {
ScaleXY: require('./ScaleXY'), ScaleXY: require('./ScaleXY'),
ScaleY: require('./ScaleY'), ScaleY: require('./ScaleY'),
SetAlpha: require('./SetAlpha'), SetAlpha: require('./SetAlpha'),
SetBlendMode: require('./SetBlendMode'),
SetDepth: require('./SetDepth'), SetDepth: require('./SetDepth'),
SetHitArea: require('./SetHitArea'), SetHitArea: require('./SetHitArea'),
SetOrigin: require('./SetOrigin'), SetOrigin: require('./SetOrigin'),