computeTbgrFromComponents MethodStatic
Compute the 0xTTBBGGRR value corresponding to the specified Red, Green, Blue, Transparency components. All inputs should be integers between 0-255.
computeTbgrFromComponents(red: number, green: number, blue: number, transparency?: number): number
Parameter | Type | Description |
---|---|---|
red | number | |
green | number | |
blue | number | |
transparency | number |
Returns - number
Defined in
- core/common/src/ColorDef.ts Line 94
Last Updated: 20 June, 2023