Clearing the contents of a Canvas

Question:

How can I clear the contents of a canvas?

Answer:

Simply draw a rectangle in the desired color.

Example:

  Canvas.Brush.Color := ClWhite;

  Canvas.FillRect(Canvas.ClipRect);