THPDFPage.FillAndStroke Method
HotPDF Delphi PDF Component Developer Guide loslab Logo

 

THPDFPage.FillAndStroke

THPDFPage

 

Top  Previous  Next

Fill and stroke the path.

 

Delphi syntax:

procedure FillAndStroke;

 

C++ syntax:

void __fastcall FillAndStroke ( void );

 

Description

Fill and then stroke the path, using the nonzero winding number rule to determine the region to fill.

 

Code Example

HPDF.CurrentPage.MoveTo( 100, 100 );
HPDF.CurrentPage.LineTo( 200, 100 );
HPDF.CurrentPage.LineTo( 200, 200 );
HPDF.CurrentPage.LineTo( 100, 200 );
HPDF.CurrentPage.FillAndStroke;

 

 

 

 

Copyright©2007-2025 losLab.com