|
THPDFPage.RectangleRotate
|
Горе Предишна Следваща |
|
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 );
Описание 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. За да запълните правоъгълна област използвайте Fill. За да очертаете правоъгълна област без да я запълвате, използвайте Stroke. За да начертаете правоъгълник със заоблени ъгли, използвайте RoundRect
Примерен код
|