Pixel Data JS - v0.28.0
Preparing search index...
makeBlendModeRegistry
Function makeBlendModeRegistry
makeBlendModeRegistry
<
BlendModes
extends
BaseBlendModes
,
Name
extends
string
|
number
|
symbol
=
keyof
BlendModes
,
Index
extends
number
=
BlendModes
[
Name
]
,
>
(
blendModes
:
BlendModes
,
initialEntries
:
Record
<
Index
,
BlendColor32
>
,
registryName
?:
string
,
)
:
{
blendToIndex
:
Map
<
BlendColor32
,
Index
>
;
blendToName
:
Map
<
BlendColor32
,
Name
>
;
indexToBlend
:
BlendColor32
[]
;
indexToName
:
Name
[]
;
indexType
:
Index
;
nameToBlend
:
{
[
K
in
string
|
number
|
symbol
]
:
BlendColor32
}
;
nameToIndex
:
Record
<
Name
,
Index
>
;
nameType
:
Name
;
registryName
:
string
;
}
Type Parameters
BlendModes
extends
BaseBlendModes
Name
extends
string
|
number
|
symbol
=
keyof
BlendModes
Index
extends
number
=
BlendModes
[
Name
]
Parameters
blendModes
:
BlendModes
initialEntries
:
Record
<
Index
,
BlendColor32
>
registryName
:
string
= 'anonymous'
Returns
{
blendToIndex
:
Map
<
BlendColor32
,
Index
>
;
blendToName
:
Map
<
BlendColor32
,
Name
>
;
indexToBlend
:
BlendColor32
[]
;
indexToName
:
Name
[]
;
indexType
:
Index
;
nameToBlend
:
{
[
K
in
string
|
number
|
symbol
]
:
BlendColor32
}
;
nameToIndex
:
Record
<
Name
,
Index
>
;
nameType
:
Name
;
registryName
:
string
;
}
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Pixel Data JS - v0.28.0
Loading...