THPDFPage.Ellipse Método

 

THPDFPage.Ellipse

THPDFPage

 

Arriba  Anterior  Siguiente

Draws the ellipse defined by a bounding rectangle.

 

Sintaxis Delphi:

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

 

Sintaxis C++:

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

 

Descripción

Llame a Ellipse para dibujar un círculo o una elipse. Especifique el rectángulo delimitador dando el punto superior izquierdo en coordenadas de píxel (X, Y) y el Width y Height del rectángulo

 

Ejemplo de código

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