|
THPDFPage.Rectangle
|
Sus Anterior Următor |
|
Desenează un dreptunghi
Sintaxă Delphi: procedure Rectangle ( X, Y, Width, Height: Single );
Sintaxă C++: void __fastcall Rectangle ( float X, float Y, float Width, float Height );
Descriere Folosiți Rectangle pentru a desena un dreptunghi. Specificați coordonatele și dimensiunea dreptunghiului. Coordonatele definesc colțul din stânga sus la punctul ( X, Y) iar lățimea și înălțimea 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.
Exemplu de cod
|