THPDFPage.Stroke

THPDFPage

トップへ  前へ  次へ

現在のパスにストロークを描画します。

 

Delphi 構文:

procedure Stroke;

 

C++ 構文:

void __fastcall Stroke ( void );

 

説明

パスにストロークを描画します。

 

コード例

program StrokeExample;
{$APPTYPE CONSOLE}
uses
    SysUtils, Graphics, Classes, HPDFDoc;

var
    HPDF: THotPDF;

begin
    HPDF := THotPDF.Create(nil);
    try
        HPDF.AutoLaunch := true;                                 // PDF file will be shown automatically
        HPDF.File名前 := '\Circle.pdf';                         // Set PDF filename
        HPDF.BeginDoc;                                               // Create PDF file
        HPDF.CurrentPage.Circle( 200, 200, 100 );          // Draw circle
        HPDF.CurrentPage.Stroke;                                 // and stroke
        HPDF.EndDoc;                                                  // Close PDF file
    finally
        HPDF.Free;
    end;
end.