THPDFPage.RectangleRotate Method

 

THPDFPage.RectangleRotate

THPDFPage

 

Vrh  Prejšnja  Naslednja

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

 

Description

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 zapolnitev pravokotnega območja uporabite Fill. Za obris pravokotnega območja brez zapolnitve uporabite Stroke. Za risanje pravokotnika z zaobljenimi vogali uporabite RoundRect

 

Code Example

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