Draws a rectangle with customized corners on the current canvas.
DrawRect is implemented by TCanvas descendants to draw--with the current stroke specified by the
Stroke or Pen properties or with the brush specified by the ABrush parameter--the ARect rectangle with customized shapes of corners.
Specifies the rectangle to be drawn.
Specifies the distance from a corner to the start point of the customization, on horizontal sides. The maximum value of XRadius is half of the rectangle's width.
Specifies the distance from a corner to the start point of the customization, on vertical sides. The maximum value of YRadius is half of the rectangle's height.
Specifies the corners to apply the customization to. ACorners can contain a set of constants defined in the TRSCorner type: crTopLeft, crTopRight, crBottomLeft, and crBottomRight. To apply the customization to all the corners, use the AllCorners constant
Specifies the transparency of the Stroke or ABrush color.
Specifies the TRSCornerType type of corner shapes' customization. It is an optional parameter with a default value of ctRound.