|
THPDFPage.RectangleRotate
|
顶部 上一页 下一页 |
|
Draws a rotated rectangle.
Delphi 语法: procedure RectangleRotate (X, Y, Width, Height: Single; Angle: Extended);
C++ 语法: void __fastcall RectangleRotate ( float X, float Y, float Width, float Height, Extended Angle );
说明 使用 RectangleRotate 向当前路径添加一个旋转矩形。(X, Y) 是矩形旋转所围绕的角点,Width 和 Height 给出其尺寸,angle 是以度表示的旋转角。与 Rectangle 添加的矩形一样,它是闭合子路径,因此描边会画出全部四条边 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.
代码示例
|