Gets a rectangle with rounded corners based on the rectangle passed in parameter.

C# | Visual Basic |
public static GraphicsPath GetRoundedRect( RectangleF baseRect, float radius )
Public Shared Function GetRoundedRect ( _ baseRect As RectangleF, _ radius As Single _ ) As GraphicsPath

- baseRect (RectangleF)
- Base Rectangle
- radius (Single)
- Radio (for rounded corners)

Rectangle (with rounded corners, GraphicsPath)