Function: ssPackColor()
ssPackColor(
color):number
Defined in: packages/react-native-spritestudio/src/core/packColor.ts:16
A colour as the C-API's packed 0xRRGGBBAA.
Skia.Color hands back a float RGBA in 0..1, so the rounding happens here — and >>> 0 at the end because a value with the top bit set is otherwise a negative int32, which the Nitro boundary would carry across as a negative double and the C++ static_cast<uint32_t> would then not recover.
Its own file, apart from the rest of the override vocabulary, because it is the only part of it that touches Skia — and parts.ts has to stay importable where Skia is not. index.web.ts re-exports the enums and types from there verbatim; this is what it stubs.
Parameters
color
string | number
Returns
number