Method function IGDIPlus.IGPGraphics.Clear(TGPColor) : TGPGraphics
From Mitov Wiki Doc
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: IGPGraphics
Contents |
Syntax
Delphi:
function Clear( color : TGPColor ) : TGPGraphics;
C++ Builder:
TGPGraphics __fastcall Clear( TGPColor color );
Visual C++ (MFC):
Clear( color );
Summary
Clears the TGPGraphics object to a specified color.
Description
Call this method to clear the TGPGraphics object to a
specified color. Example: The following example creates a Graphics object and a Color object. The code then clears the Graphics object to a color specified by the Color object.
var AGraphics : IGPGraphics; begin AGraphics := TGPGraphics.Create( ACanvas );
// Clear the screen with a blue background.
AGraphics.Clear( aclBlue );
end;