Method Clear
Clear(Color32)
Fills the entire drawing surface with the specified color, replacing all existing pixel data.
public Canvas Clear(Color32 color)
Parameters
colorColor32The color to fill the surface with.
Returns
Examples
var canvas = new Canvas(image);
canvas.Clear(new Color32(255, 255, 255)); // white background