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>
2019-01-15 16:20:22 +00:00
* @copyright 2019 Photon Storm Ltd.
2018-07-18 23:22:38 +00:00
* @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}
2018-10-10 09:49:13 +00:00
* @memberof Phaser
2018-10-09 12:40:00 +00:00
* @readonly
2018-07-18 23:22:38 +00:00
* @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'
];