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 96
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.