Fill

static void Fill(
Rgba fillColor )

Fills the active rendering surface with the specified color.

The alpha value of the color is not taken in account.

Examples

// Fill the active canvas with blue //
Canvas::FillRgba::BLUE );


Other functions of the class Canvas
SetTo
Selects the active rendering surface
Refresh
Refresh the contents of the active rendering surface
Fill
Fills the active rendering surface with the specified color
SetClipping
Sets the clipping region of the active rendering surface
DisableClipping
Disables the clipping region
GetClippingRegion
GetClippingRegion
Width
Returns the width of the active rendering surface
Height
Returns the height of the active rendering surface

Advanced functions

SetPixelWriteMode
Selects which color components the rendering functions affect


Questions about Fill? Click here.