phaser/src/gameobjects/domelement/CSSBlendModes.js

36 lines
652 B
JavaScript
Raw Normal View History

2018-07-18 23:22:38 +00:00
/**
* @author Richard Davey <rich@photonstorm.com>
* @copyright 2018 Photon Storm Ltd.
* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
*/
/**
* Phaser Blend Modes to CSS Blend Modes Map.
*
* @name Phaser.CSSBlendModes
* @enum {string}
* @memberOf Phaser
* @readOnly
* @since 3.12.0
*/
module.exports = [
'normal',
'multiply',
'multiply',
'screen',
'overlay',
'darken',
'lighten',
'color-dodge',
'color-burn',
'hard-light',
'soft-light',
'difference',
'exclusion',
'hue',
'saturation',
'color',
'luminosity'
];