<static> toABGR(r, g, b, a) → {number}
Converts RGBA components to a 32 bit integer in AABBGGRR format.
Parameters
Name | Type | Description |
---|---|---|
r | number | The red color component, in the range 0 - 255. |
g | number | The green color component, in the range 0 - 255. |
b | number | The blue color component, in the range 0 - 255. |
a | number | The alpha color component, in the range 0 - 255. |
Returns
number -
A RGBA-packed 32 bit integer
- Source code: utils/Color.js (Line 144)
Please login to continue.