THPDFPage.RectangleRotate Method

 

THPDFPage.RectangleRotate

THPDFPage

 

Vrh  Prethodno  Sledeće

Draws a rotated rectangle.

 

Delphi syntax:

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

 

C++ syntax:

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

 

Opis

Use Rectangle to draw a rectangle. Specify the rectangle's coordinates and size. Coordinates defines the upper left corner at the point ( X, Y),  the width and the height and the angle of  rotation in degrees.

Za popunjavanje pravougaone oblasti koristite Fill. Za iscrtavanje ivice pravougaone oblasti bez popunjavanja koristite Stroke. Za crtanje pravougaonika sa zaobljenim uglovima koristite RoundRect

 

Code Example

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