TCustomImage32.ExecClearBuffer

procedure ExecClearBuffer(Dest: TBitmap32; Stage: Integer); virtual;

Description

Clears the whole buffer with the color specified in the Color property of the control.

This method is called by the control when it executes PST_CLEAR_BUFFER paint stage. Note, however, that by default, TCustomImage32 does not execute PST_CLEAR_BUFFER stage, instead of it it uses PST_CLEAR_BACKGND, which works faster in some cases.

See Also

Paint Stages, TBitmap32, TCustomImage32