TWidgetSet.RoundRect function
Draws a filled rectangle with rounded corners.
Declaration
function RoundRect(DC: hDC; X1: Integer; Y1: Integer; X2: Integer;
Y2: Integer; RX: Integer; RY: Integer): Boolean
; virtualArguments
DC | The device context. |
X1 | The rectangle coordinates. |
Y1 | |
X2 | |
Y2 | |
RX | The extent of the ellipse, used for the rounded corners. |
RY | The extent of the ellipse, used for the rounded corners. |
Function result
False on failure.Description
The rectangle is outlined with the current Pen, and filled with the current Brush.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
