Parameters
- g
- A System.Drawing.Graphics object that encapsulates a GDI+ drawing surface.
- r
- The rectangle area to paint.
- b
- A System.Drawing.Brush object to fill the rectangle.
- borderColor
- The color of the border of the rectangle.
- corners
- Radius of all rectangle corners, in pixels.