CreateImageColor
Description
Creates a 1x1 pixel image of a specified color. This can be used to texture any object or sprite with a solid color.
Definition
CreateImageColor( imageID, red, green, blue, alpha )
void agk::CreateImageColor( UINT imageID, UINT red, UINT green, UINT blue, UINT alpha )
integer CreateImageColor( red, green, blue, alpha )
UINT agk::CreateImageColor( UINT red, UINT green, UINT blue, UINT alpha )
Parameters
- imageID - The image ID to use for this image.
- red - The red component of the image (0 to 255)
- green - The green component of the image (0 to 255)
- blue - The blue component of the image (0 to 255)
- alpha - The alpha component of the image (0 to 255), 0 is completely transparent