Color A
From MCS Wiki AVR
Action
Set the current color alpha.
Contents |
Syntax
Color_A alpha
Remarks
alpha |
Alpha for the current color. 0 to 255, the initial value is 255 |
Sets the alpha value applied to drawn elements - points, lines, and bitmaps.
How the alpha value affects image pixels depends on BlendFunc the default behavior is a transparent blend.
See also
Example
' Pseudocode ' Drawing three characters with transparency 255, 128, and 64 Begin_G BITMAPS Vertex2II 50, 30, 31, &H47 Color_A 128 Vertex2II 58, 38, 31, &H47 Color_A 64 Vertex2II 66, 46, 31, &H47
Languages | English |
---|