computeTbgrFromString MethodStatic

Compute the 0xTTBBGGRR value corresponding to a string representation of a color. If val is not a valid color string, this function returns 0 (black).

computeTbgrFromString(val: string): number

@see - fromString for the definition of a valid color string.

Parameter Type Description
val string  

Returns - number

Defined in

Last Updated: 23 November, 2024