Parameters
- brush
- The brush used to fill the rectangle.
- pen
- The pen used to stroke the rectangle.
- rect
- The rectangle to draw.
- radiusX
- The radius in the X dimension of the rounded corners. This value will be clamped to the range of 0 to Rect.Width/2.
- radiusY
- The radius in the Y dimension of the rounded corners. This value will be clamped to a value between 0 to Rect.Height/2.