|
THPDFPage.Rectangle
|
傳回頂部 上一頁 下一頁 |
|
Draws a rectangle.
Delphi 語法: procedure Rectangle ( X, Y, Width, Height: Single );
C++ 語法: void __fastcall Rectangle ( float X, float Y, float Width, float Height );
說明 使用 Rectangle 繪製 rectangle。請指定 rectangle 的 coordinates 與 size。Coordinates 會以 point(X, Y)定義 upper left corner,並指定 width 與 height 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
|