<static> getColor32(a, r, g, b) → {number}
Given an alpha and 3 color values this will return an integer representation of it.
Parameters
Name | Type | Description |
---|---|---|
a | number | The alpha color component, in the range 0 - 255. |
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. |
Returns
number -
A native color value integer (format: 0xAARRGGBB).
- Source code: utils/Color.js (Line 483)
Please login to continue.