Returns the capsule (GraphicsPath) of a rectangle.

C# | Visual Basic |
public static GraphicsPath GetCapsule( RectangleF baseRect )
Public Shared Function GetCapsule ( _ baseRect As RectangleF _ ) As GraphicsPath

- baseRect (RectangleF)
- Rectangle

Capsule (GraphicsPath)