(rgba: RGBA)
| 141 | * @returns A numeric value representing the RGBA color. |
| 142 | */ |
| 143 | export function rgba_int(rgba: RGBA): number { |
| 144 | return (rgba.r << 24) | (rgba.g << 16) | (rgba.b << 8) | rgba.a |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * Converts a numeric representation (32-bit integer) to an RGBA color. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…