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