MakeARGB
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
Description
Calculates the color value from the alpha value and the three primary color components. The value is interpreted as 4 bytes and the color results from which value is contained in which byte: [0] = Alpha (transparency), [1] = Red, [2] = Green, [3] = Blue See also availability for panel controlsParameters
-
Alpha: The transparency of the color (0 - 255)
- 0: 0% opacity of the color, totally transparent
- 255: 100% opacity of the color
- Red: Red color component (0 - 255)
- Green: Green color component (0 - 255)
- Blue: Blue color component (0 - 255)
Return Values
- Color value (type long)