THPDFPage.RectangleRotate Method

 

THPDFPage.RectangleRotate

THPDFPage

 

Topo  Anterior  Próximo

Draws a rotated rectangle.

 

Sintaxe Delphi:

procedure RectangleRotate (X, Y, Width, Height: Single; Angle: Extended);

 

Sintaxe C++:

void __fastcall RectangleRotate ( float X, float Y, float Width, float Height, Extended Angle );

 

Descrição

Utilize Rectangle para desenhar um retângulo. Especifique as coordenadas e o tamanho do retângulo. As coordenadas definem o canto superior esquerdo no ponto (X, Y), a largura, a altura e o ângulo de rotação em graus

To fill a rectangular region use Fill. To outline a rectangular region without filling it, use Stroke. To draw a rectangle with rounded corners, use RoundRect.

 

Code Example

HPDF.CurrentPage.RotRectangle( 100, 100, 150, 75, 30 );    // Rotated rectangle
HPDF.CurrentPage.Stroke;