THPDFPage.Ellipse Method

 

THPDFPage.Ellipse

THPDFPage

 

Κορυφή  Προηγούμενο  Επόμενο

Draws the ellipse defined by a bounding rectangle.

 

Delphi syntax:

procedure Ellipse( X, Y, Width, Height: Single );

 

C++ syntax:

void __fastcall Ellipse( float X, float Y, float Width, float Height );

 

Περιγραφή

Καλέστε το Ellipse για να σχεδιάσετε circle ή ellipse. Καθορίστε το bounding rectangle δίνοντας το top left point σε pixel coordinates (X, Y) και τα Width και Height του rectangle

 

Code Example

HPDF.CurrentPage.Ellipse( 100, 100, 75, 50 );   // Center on 100, 100, X Radius 75, Y Radius 50
HPDF.CurrentPage.Stroke;                          // Draw ellipse outline