Clear

Graphics.Clear method

Clears the entire drawing surface and fills it with the specified background color.

public void Clear(Color color)
Parameter Type Description
color Color Color structure that represents the background color of the drawing surface.

See Also