Method function IGDIPlus.IGPGraphicsPath.Reset() : TGPGraphicsPath
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: IGPGraphicsPath
Contents |
Syntax
Delphi:
function Reset() : TGPGraphicsPath;
C++ Builder:
TGPGraphicsPath __fastcall Reset();
Visual C++ (MFC):
Reset();
Summary
Empties the path and sets the fill mode to FillModeAlternate.
Description
Call this method to empty the path and set the fill mode to
FillModeAlternate.
Example:
The following example creates a path, adds a sequence of
connected lines to the path, and then clears the path by
calling the Reset method.
APath.AddLines( [ MakePoint(0, 0),
MakePoint(20, 0),
MakePoint(20, 40),
MakePoint(0, 40),
MakePoint(0, 0) ] );
APath.Reset();