Gets a rectangle with rounded corners based on the rectangle passed in parameter.
Declaration Syntax
C# | Visual Basic |
public static GraphicsPath GetRoundedRect( RectangleF baseRect, float radius )
Public Shared Function GetRoundedRect ( _ baseRect As RectangleF, _ radius As Single _ ) As GraphicsPath
Parameters
- baseRect (RectangleF)
- Base Rectangle
- radius (Single)
- Radio (for rounded corners)
Return Value
Rectangle (with rounded corners, GraphicsPath)