MakeColor
Description
Creates a compound color value from color components that can then be used with 2D drawing commands.
Definition
integer MakeColor( red, green, blue )
uint32_t agk::MakeColor( uint32_t red, uint32_t green, uint32_t blue )
integer MakeColor( red, green, blue, alpha )
uint32_t agk::MakeColor( uint32_t red, uint32_t green, uint32_t blue, uint32_t alpha )
Parameters
- red - The red component of the color.
- green - The green component of the color.
- blue - The blue component of the color.
- alpha - The alpha component of the color between 0 for transparent 255 for opaque