THPDFPage.RectangleRotate メソッド

 

THPDFPage.RectangleRotate

THPDFPage

 

トップへ  前へ  次へ

回転した四角形を描画します。

 

Delphi 構文:

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

 

C++ 構文:

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.

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.

 

コード例

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