GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/pixels-edit-animation
EditColor
Class EditColor
Index
Constructors
constructor
Properties
color?
mode
Methods
duplicate
to
Color
Index
to
Color
Index
Constructors
constructor
new
Edit
Color
(
colorOrMode
?
)
:
EditColor
Parameters
Optional
colorOrMode
:
Color
|
"face"
|
"random"
Returns
EditColor
Properties
Optional
color
color
?:
Color
mode
mode
:
"rgb"
|
"face"
|
"random"
Methods
duplicate
duplicate
(
)
:
EditColor
Returns
EditColor
to
Color
Index
to
Color
Index
(
refPalette
)
:
number
Parameters
refPalette
:
Readonly
<
Color
>
[]
Returns
number
Static
to
Color
Index
to
Color
Index
(
refPalette
,
color
)
:
number
Parameters
refPalette
:
Readonly
<
Color
>
[]
color
:
Readonly
<
Color
>
Returns
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
color
mode
Methods
duplicate
to
Color
Index
to
Color
Index
GitHub
Pixels Website
Documentation
Loading...