forked from phaserjs/phaser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBlendModes.js
More file actions
145 lines (124 loc) · 2.3 KB
/
Copy pathBlendModes.js
File metadata and controls
145 lines (124 loc) · 2.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
/**
* @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.
*
* @name Phaser.BlendModes
* @enum {integer}
* @memberOf Phaser
* @readOnly
* @since 3.0.0
*/
module.exports = {
/**
* Skips the Blend Mode check in the renderer.
*
* @name Phaser.BlendModes.SKIP_CHECK
*/
SKIP_CHECK: -1,
/**
* Normal blend mode.
*
* @name Phaser.BlendModes.NORMAL
*/
NORMAL: 0,
/**
* Add blend mode.
*
* @name Phaser.BlendModes.ADD
*/
ADD: 1,
/**
* Multiply blend mode.
*
* @name Phaser.BlendModes.MULTIPLY
*/
MULTIPLY: 2,
/**
* Screen blend mode.
*
* @name Phaser.BlendModes.SCREEN
*/
SCREEN: 3,
/**
* Overlay blend mode.
*
* @name Phaser.BlendModes.OVERLAY
*/
OVERLAY: 4,
/**
* Darken blend mode.
*
* @name Phaser.BlendModes.DARKEN
*/
DARKEN: 5,
/**
* Lighten blend mode.
*
* @name Phaser.BlendModes.LIGHTEN
*/
LIGHTEN: 6,
/**
* Color Dodge blend mode.
*
* @name Phaser.BlendModes.COLOR_DODGE
*/
COLOR_DODGE: 7,
/**
* Color Burn blend mode.
*
* @name Phaser.BlendModes.COLOR_BURN
*/
COLOR_BURN: 8,
/**
* Hard Light blend mode.
*
* @name Phaser.BlendModes.HARD_LIGHT
*/
HARD_LIGHT: 9,
/**
* Soft Light blend mode.
*
* @name Phaser.BlendModes.SOFT_LIGHT
*/
SOFT_LIGHT: 10,
/**
* Difference blend mode.
*
* @name Phaser.BlendModes.DIFFERENCE
*/
DIFFERENCE: 11,
/**
* Exclusion blend mode.
*
* @name Phaser.BlendModes.EXCLUSION
*/
EXCLUSION: 12,
/**
* Hue blend mode.
*
* @name Phaser.BlendModes.HUE
*/
HUE: 13,
/**
* Saturation blend mode.
*
* @name Phaser.BlendModes.SATURATION
*/
SATURATION: 14,
/**
* Color blend mode.
*
* @name Phaser.BlendModes.COLOR
*/
COLOR: 15,
/**
* Luminosity blend mode.
*
* @name Phaser.BlendModes.LUMINOSITY
*/
LUMINOSITY: 16
};