Method function IGDIPlus.IGPGraphicsPath.Reset() : TGPGraphicsPath

From Mitov Wiki Doc
Revision as of 17:18, 18 October 2012 by David Alm (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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();

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox