|
THPDFPage.Rectangle
|
Arriba Anterior Siguiente |
|
Draws a rectangle.
Sintaxis Delphi: procedure Rectangle ( X, Y, Width, Height: Single );
Sintaxis C++: void __fastcall Rectangle ( float X, float Y, float Width, float Height );
Descripción Utilice Rectangle para dibujar un rectángulo. Especifique las coordenadas y el tamaño del rectángulo. Coordinates define la esquina superior izquierda en el punto (X, Y), así como el ancho y la altura 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.
Ejemplo de código
|