THPDFPage.Circle Method

 

THPDFPage.Circle

THPDFPage

 

傳回頂部  上一頁  下一頁

Draws the circle defined by a bounding rectangle on the canvas.

 

Delphi 語法:

procedure Circle( X, Y, Radius: Single );

 

C++ 語法:

void __fastcall Circle( float X, float Y, float Radius );

 

說明

 

呼叫 Circle 繪製 circle。請指定 center coordinates(X, Y)與 Radius

 

Code Example

HPDF.CurrentPage.Circle( 100, 100, 75 );   // Center on 100, 100, Radius 75
HPDF.CurrentPage.Stroke;                    // Draw circle outline