Pixel Data JS - v0.28.0
Preparing search index...
makePerfectBlendModeRegistry
Function makePerfectBlendModeRegistry
makePerfectBlendModeRegistry
(
name
?:
string
,
)
:
{
blendToIndex
:
Map
<
BlendColor32
,
|
0
|
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
,
>
;
blendToName
:
Map
<
BlendColor32
,
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
,
>
;
indexToBlend
:
BlendColor32
[]
;
indexToName
:
(
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
)
[]
;
indexType
:
|
0
|
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
;
nameToBlend
:
{
colorBurn
:
BlendColor32
;
colorDodge
:
BlendColor32
;
darken
:
BlendColor32
;
darkerColor
:
BlendColor32
;
destinationAtop
:
BlendColor32
;
destinationIn
:
BlendColor32
;
destinationOut
:
BlendColor32
;
destinationOver
:
BlendColor32
;
difference
:
BlendColor32
;
divide
:
BlendColor32
;
exclusion
:
BlendColor32
;
hardLight
:
BlendColor32
;
hardMix
:
BlendColor32
;
lighten
:
BlendColor32
;
lighterColor
:
BlendColor32
;
linearBurn
:
BlendColor32
;
linearDodge
:
BlendColor32
;
linearLight
:
BlendColor32
;
multiply
:
BlendColor32
;
overlay
:
BlendColor32
;
overwrite
:
BlendColor32
;
pinLight
:
BlendColor32
;
screen
:
BlendColor32
;
softLight
:
BlendColor32
;
sourceAtop
:
BlendColor32
;
sourceIn
:
BlendColor32
;
sourceOut
:
BlendColor32
;
sourceOver
:
BlendColor32
;
subtract
:
BlendColor32
;
vividLight
:
BlendColor32
;
xor
:
BlendColor32
;
}
;
nameToIndex
:
Record
<
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
,
|
0
|
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
,
>
;
nameType
:
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
;
registryName
:
string
;
}
Parameters
name
:
string
= 'perfect'
Returns
{
blendToIndex
:
Map
<
BlendColor32
,
|
0
|
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
,
>
;
blendToName
:
Map
<
BlendColor32
,
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
,
>
;
indexToBlend
:
BlendColor32
[]
;
indexToName
:
(
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
)
[]
;
indexType
:
|
0
|
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
;
nameToBlend
:
{
colorBurn
:
BlendColor32
;
colorDodge
:
BlendColor32
;
darken
:
BlendColor32
;
darkerColor
:
BlendColor32
;
destinationAtop
:
BlendColor32
;
destinationIn
:
BlendColor32
;
destinationOut
:
BlendColor32
;
destinationOver
:
BlendColor32
;
difference
:
BlendColor32
;
divide
:
BlendColor32
;
exclusion
:
BlendColor32
;
hardLight
:
BlendColor32
;
hardMix
:
BlendColor32
;
lighten
:
BlendColor32
;
lighterColor
:
BlendColor32
;
linearBurn
:
BlendColor32
;
linearDodge
:
BlendColor32
;
linearLight
:
BlendColor32
;
multiply
:
BlendColor32
;
overlay
:
BlendColor32
;
overwrite
:
BlendColor32
;
pinLight
:
BlendColor32
;
screen
:
BlendColor32
;
softLight
:
BlendColor32
;
sourceAtop
:
BlendColor32
;
sourceIn
:
BlendColor32
;
sourceOut
:
BlendColor32
;
sourceOver
:
BlendColor32
;
subtract
:
BlendColor32
;
vividLight
:
BlendColor32
;
xor
:
BlendColor32
;
}
;
nameToIndex
:
Record
<
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
,
|
0
|
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
,
>
;
nameType
:
|
"darken"
|
"difference"
|
"exclusion"
|
"lighten"
|
"multiply"
|
"overlay"
|
"screen"
|
"xor"
|
"overwrite"
|
"sourceOver"
|
"colorBurn"
|
"linearBurn"
|
"darkerColor"
|
"colorDodge"
|
"linearDodge"
|
"lighterColor"
|
"softLight"
|
"hardLight"
|
"vividLight"
|
"linearLight"
|
"pinLight"
|
"hardMix"
|
"subtract"
|
"divide"
|
"sourceIn"
|
"sourceOut"
|
"sourceAtop"
|
"destinationOver"
|
"destinationIn"
|
"destinationOut"
|
"destinationAtop"
;
registryName
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pixel Data JS - v0.28.0
Loading...