|
THPDFPage.Rectangle
|
Κορυφή Προηγούμενο Επόμενο |
|
Draws a rectangle.
Delphi syntax: procedure Rectangle ( X, Y, Width, Height: Single );
C++ syntax: void __fastcall Rectangle ( float X, float Y, float Width, float Height );
Περιγραφή Χρησιμοποιήστε το Rectangle για να σχεδιάσετε rectangle. Καθορίστε τα coordinates και το size του rectangle. Τα coordinates ορίζουν την upper left corner στο point (X, Y), καθώς και το 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
|