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
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
color
mode
duplicate
to
Color
Index
to
Color
Index
Documentation
Loading...