-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
34 lines (33 loc) · 858 Bytes
/
constants.js
File metadata and controls
34 lines (33 loc) · 858 Bytes
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
export const supportedCompositionOperations = {
sourceOver: 'source-over',
sourceIn: 'source-in',
sourceOut: 'source-out',
sourceAtop: 'source-atop',
destinationOver: 'destination-over',
destinationIn: 'destination-in',
destinationOut: 'destination-out',
destinationAtop: 'destination-atop',
lighter: 'lighter',
copy: 'copy',
xor: 'xor',
multiply: 'multiply',
screen: 'screen',
overlay: 'overlay',
darken: 'darken',
lighten: 'lighten',
colorDodge: 'color-dodge',
colorBurn: 'color-burn',
hardLight: 'hard-light',
softLight: 'soft-light',
difference: 'difference',
exclusion: 'exclusion',
hue: 'hue',
saturation: 'saturation',
color: 'color',
luminosity: 'luminosity'
}
export const supportedImageSourceTypes = {
image: '[object HTMLImageElement]',
string: '[object String]',
file: '[object File]'
}