GitHub
Pixels Website
Preparing search index...
The search index is not available
Documentation
Documentation
@systemic-games/react-native-pixels-connect
Profiles
FaceColor
Class FaceColor
Index
Constructors
constructor
Properties
color?
mode
Methods
duplicate
to
Color
Index
to
Color
Index
Constructors
constructor
new
Face
Color
(
colorOrMode
?
)
:
FaceColor
Parameters
Optional
colorOrMode
:
Color
|
"face"
|
"random"
Returns
FaceColor
Properties
Optional
color
color
?:
Color
mode
mode
:
"rgb"
|
"face"
|
"random"
Methods
duplicate
duplicate
(
)
:
FaceColor
Returns
FaceColor
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...