Fill
Same as above but affects only to the specified color components. Possible choises are: COLOR_AND_ALPHA - Both the color value and alpha channel are affected (Default) COLOR_ONLY - Only the color values are affected ALPHA_ONLY - Only the alpha channel is affected Examples // Fill the active canvas with blue //
Canvas::Fill( Rgba::BLUE ); // If the surface is a Bitmap you might wish to empty it // // so that it's totally transparent: // Canvas::Fill( Rgba::INVISIBLE, ALPHA_ONLY ); Other functions of the class Canvas
Questions about Fill? Click here. |