|
THPDFPage.RoundRect
|
Vrh Prethodno Sledeće |
|
Draws a rectangle with rounded corners on the canvas.
Delphi syntax: procedure RoundRect ( X1, Y1, X2, Y2, X3, Y3: Integer );
C++ syntax: void __fastcall RoundRect ( int X1, int Y1, int X2, int Y2, int X3, int Y3);
Opis
Koristite RoundRect da biste nacrtali zaobljeni pravougaonik. Pravougaonik će imati ivice definisane tačkama (X1,Y1), (X2,Y1), (X2,Y2), (X1,Y2), ali će uglovi biti odsečeni da bi se dobio zaobljen izgled. Kriva zaobljenih uglova odgovara zakrivljenosti elipse širine X3 i visine Y3
To draw an ellipse instead, use Ellipse. To draw a true rectangle, use Rectangle.
Code Example
|