THPDFPage.RectangleRotate 메서드

 

THPDFPage.RectangleRotate

THPDFPage

 

맨 위  이전  다음

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

 

설명

Rectangle을 그리려면 Rectangle을 사용하십시오. Rectangle의 coordinate와 size를 지정합니다. Coordinate는 point(X, Y)의 upper left corner, width, height, degree 단위 rotation angle을 정의합니다

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

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