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

 

THPDFPage.Ellipse

THPDFPage

 

Top  Previous  Next

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

 

Description

Call Ellipse to draw a circle or ellipse. Specify the bounding rectangle either by giving the top left point at pixel coordinates ( X, Y) and the Width and Height of the 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
Copyright©2007-2025 losLab.com