|
THPDFPage.RectangleRotate
|
Top Previous Next |
|
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 RectangleRotate to add a rotated rectangle to the current path. ( X, Y) marks the corner about which the rectangle turns, Width and Height give its size, and angle is the rotation in degrees. The rectangle lands as a closed subpath, exactly like one added by Rectangle, so stroking it draws all four sides 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
|